diff --git a/src/components/app/index.js b/src/components/app/index.js index 4c5469005..a5dade165 100644 --- a/src/components/app/index.js +++ b/src/components/app/index.js @@ -13,28 +13,32 @@ import Dialog from '../dialog'; import Toaster from '../toaster'; import Tabs from '../tabs'; import LoadingBar from '../loadingBar'; +import OfflineWrapper from '../offlineWrapper'; +import offlineStyle from '../offlineWrapper/offlineWrapper.css'; const App = () => ( -
-
-
-
- ( -
- - - - - -
- )} /> - -
- - - -
-
+ +
+
+
+
+ ( +
+ + + + + +
+ )} /> + +
+ + + +
+
+
); export default App; diff --git a/src/components/header/headerElement.js b/src/components/header/headerElement.js index 31b184055..740f858b9 100644 --- a/src/components/header/headerElement.js +++ b/src/components/header/headerElement.js @@ -10,6 +10,7 @@ import RegisterDelegate from '../registerDelegate'; import Send from '../send'; import PrivateWrapper from '../privateWrapper'; import SecondPassphraseMenu from '../secondPassphrase'; +import offlineStyle from '../offlineWrapper/offlineWrapper.css'; const HeaderElement = props => (
@@ -18,7 +19,7 @@ const HeaderElement = props => ( ( { !props.account.isDelegate && props.setActiveDialog({ - title: 'Register as delegate', - childComponent: RegisterDelegate, - })} - /> + className='register-as-delegate' + onClick={() => props.setActiveDialog({ + title: 'Register as delegate', + childComponent: RegisterDelegate, + })} + /> } ( /> -