fix: redux folder relocated and local func renamed

This commit is contained in:
Ahmad Abdolsaheb
2019-02-21 17:31:54 +03:00
committed by Stuart Taylor
parent 6cdfbc87d8
commit 08f737a0b9
5 changed files with 17 additions and 14 deletions

View File

@@ -69,10 +69,10 @@ const propTypes = {
isOnline: PropTypes.bool.isRequired,
isSignedIn: PropTypes.bool,
landingPage: PropTypes.bool,
onGuide: PropTypes.bool,
onlineStatusChange: PropTypes.func.isRequired,
removeFlashMessage: PropTypes.func.isRequired,
showFooter: PropTypes.bool,
onGuide: PropTypes.bool
showFooter: PropTypes.bool
};
const mapStateToProps = createSelector(
@@ -160,10 +160,7 @@ class DefaultLayout extends Component {
>
<style>{fontawesome.dom.css()}</style>
</Helmet>
<Header
disableSettings={disableSettings}
onGuide={onGuide}
/>
<Header disableSettings={disableSettings} onGuide={onGuide} />
<div className={`default-layout ${landingPage ? 'landing-page' : ''}`}>
<OfflineWarning isOnline={isOnline} isSignedIn={isSignedIn} />
{hasMessages ? (