diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-05-31 01:38:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-31 01:38:53 +0800 |
commit | 389346913bf076fde6190a61afc4e3e4cd210afc (patch) | |
tree | 48340bd579c409ce0313696bbcc9c055dbb9cb3d /ui/app/components/loading-screen | |
parent | b5c91d240bd111cec07bc40dd26cfb1741e88d62 (diff) | |
download | tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar.gz tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar.bz2 tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar.lz tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar.xz tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.tar.zst tangerine-wallet-browser-389346913bf076fde6190a61afc4e3e4cd210afc.zip |
Prevent loading screen from overlaying the app bar (#4417)
Diffstat (limited to 'ui/app/components/loading-screen')
-rw-r--r-- | ui/app/components/loading-screen/loading-screen.component.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/app/components/loading-screen/loading-screen.component.js b/ui/app/components/loading-screen/loading-screen.component.js index bce2a4aac..6b843cfee 100644 --- a/ui/app/components/loading-screen/loading-screen.component.js +++ b/ui/app/components/loading-screen/loading-screen.component.js @@ -1,7 +1,6 @@ const { Component } = require('react') const h = require('react-hyperscript') const PropTypes = require('prop-types') -const classnames = require('classnames') const Spinner = require('../spinner') class LoadingScreen extends Component { @@ -12,9 +11,7 @@ class LoadingScreen extends Component { render () { return ( - h('.loading-overlay', { - className: classnames({ 'loading-overlay--full-screen': this.props.fullScreen }), - }, [ + h('.loading-overlay', [ h('.loading-overlay__container', [ h(Spinner, { color: '#F7C06C', @@ -29,7 +26,6 @@ class LoadingScreen extends Component { LoadingScreen.propTypes = { loadingMessage: PropTypes.string, - fullScreen: PropTypes.bool, } module.exports = LoadingScreen |