Show global notices in all pages
[MAILPOET-2390]
This commit is contained in:
committed by
Jack Kitterhing
parent
3660271fad
commit
3fc48006c2
@@ -9,10 +9,12 @@ import SystemInfo from 'help/system_info.jsx';
|
||||
import SystemStatus from 'help/system_status.jsx';
|
||||
import YourPrivacy from 'help/your_privacy.jsx';
|
||||
import { GlobalContext, useGlobalContextValue } from 'context/index.jsx';
|
||||
import Notices from 'notices/notices.jsx';
|
||||
|
||||
const App = () => (
|
||||
<GlobalContext.Provider value={useGlobalContextValue(window)}>
|
||||
<HashRouter>
|
||||
<Notices />
|
||||
<Switch>
|
||||
<Route exact path="/" render={() => <Redirect to="/knowledgeBase" />} />
|
||||
<Route path="/knowledgeBase" component={KnowledgeBase} />
|
||||
|
Reference in New Issue
Block a user