move app shell to the top

This commit is contained in:
Raghunandan Balachandran
2020-02-04 13:18:45 +01:00
parent ba83266bf5
commit c82fac8af1
+10 -12
View File
@@ -36,20 +36,18 @@ const useStyles = makeStyles(theme => ({
const App: FC<{}> = () => {
return (
<Router>
<Switch>
<Route exact path="/">
<AppShell>
<AppShell>
<Router>
<Switch>
<Route exact path="/">
<Home />
</AppShell>
</Route>
<Route path="/login">
<AppShell>
</Route>
<Route path="/login">
<Login />
</AppShell>
</Route>
</Switch>
</Router>
</Route>
</Switch>
</Router>
</AppShell>
);
};