From eb8ede7a6354894d689287c16298ab8b2740755a Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 7 Nov 2018 21:31:08 +0100 Subject: [PATCH] exporting layout to a layout file --- client/src/App.js | 8 +++----- client/src/styles/index.js | 3 --- client/src/views/index.js | 3 ++- client/src/views/layout/index.js | 21 +++++++++++++++++++++ client/src/views/layout/styles.js | 7 +++++++ 5 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 client/src/views/layout/index.js create mode 100644 client/src/views/layout/styles.js diff --git a/client/src/App.js b/client/src/App.js index 09585a5aa..39d60ce90 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -11,7 +11,7 @@ import { theme, globalStyles } from './styles' import { client } from './graphql/apollo' import Auth from './auth' -import { Header, Footer, Home, Charts, Callback } from './views' +import { Layout, Home, Charts, Callback } from './views' import Users from '@advancedalgos/users-client' import Teams from '@advancedalgos/teams-client' @@ -28,8 +28,7 @@ export const MasterApp = (props) => ( -
-
+ ( render={props => } /> -
-