Merge branch 'feature/fix-hide/show-header' of github.com:ONLYOFFICE/AppServer into feature/fix-hide/show-header

This commit is contained in:
TatianaLopaeva 2021-01-25 15:00:29 +03:00
commit 155e00da38

View File

@ -83,7 +83,7 @@ class App extends React.Component {
render() {
return navigator.onLine ? (
<Lauout>
<Layout>
<Router history={history}>
{!this.isThirdPartyResponse && <NavMenu />}
<Main>
@ -110,7 +110,11 @@ class App extends React.Component {
component={Home}
/>
<PrivateRoute exact path="/about" component={About} />
<PrivateRoute restricted path="/settings" component={Settings} />
<PrivateRoute
restricted
path="/settings"
component={Settings}
/>
<PrivateRoute
exact
path={["/coming-soon"]}