Skip to content

Commit

Permalink
centered loading screen in app
Browse files Browse the repository at this point in the history
  • Loading branch information
kvdomingo committed Apr 24, 2020
1 parent 409f51c commit 0a96786
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions sdm/static/sdm/js/CharacterizeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,10 @@ var CharacterizeView = function (_React$Component) {
if (this.state.loading) {
return React.createElement(
'div',
{ className: 'container mb-5' },
React.createElement(
'div',
{ className: 'spinner-grow', role: 'status' },
React.createElement(
'span',
{ className: 'sr-only' },
'Loading...'
)
)
{ className: 'container mb-5 text-center' },
React.createElement('div', { className: 'spinner-grow mb-2', role: 'status' }),
React.createElement('br', null),
'Please wait...'
);
} else {
return React.createElement(
Expand Down

0 comments on commit 0a96786

Please sign in to comment.