Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 9cb8f0f

Browse files
authored
Merge pull request #55 from pope1ni/patch-1
Added a CSS class to error messages.
2 parents c0f886d + 26accc2 commit 9cb8f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/APIController.react.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ class UnconnectedContainer extends Component {
8383
if (layoutRequest.status &&
8484
!contains(layoutRequest.status, [200, 'loading'])
8585
) {
86-
return (<div>{'Error loading layout'}</div>);
86+
return (<div className="_dash-error">{'Error loading layout'}</div>);
8787
}
8888

8989

9090
else if (
9191
dependenciesRequest.status &&
9292
!contains(dependenciesRequest.status, [200, 'loading'])
9393
) {
94-
return (<div>{'Error loading dependencies'}</div>);
94+
return (<div className="_dash-error">{'Error loading dependencies'}</div>);
9595
}
9696

9797

0 commit comments

Comments
 (0)