diff --git a/src/containers/MainArea/MainArea.js b/src/containers/MainArea/MainArea.js index 2589f470..4afca4e8 100644 --- a/src/containers/MainArea/MainArea.js +++ b/src/containers/MainArea/MainArea.js @@ -30,7 +30,7 @@ function MainArea(props) { const {models, nav} = props; const {closeNotification} = props.navActions; - const noSites = nav.initEnded && !models.sites.length; + const noSites = nav.initEnded && !models.currentSite; return (
@@ -39,18 +39,18 @@ function MainArea(props) {
{noSites ? - <> - - } /> - } /> - } /> - -
- - Add new site to start working -
Find "Create new site" button in the sidebar
-
- + + } /> + } /> + } /> + + + Add new site to start working +
Find "Create new site" button in the sidebar
+
+ } /> + : } />