From c6d768b819041b40ff1c71f132b55932c0b77496 Mon Sep 17 00:00:00 2001 From: Jovert Lota Palonpon Date: Sun, 5 May 2019 14:44:25 +0800 Subject: [PATCH] wip --- resources/js/App.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/js/App.js b/resources/js/App.js index 92627ca..15da75c 100755 --- a/resources/js/App.js +++ b/resources/js/App.js @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import { HashRouter as Router } from 'react-router-dom'; import PropTypes from 'prop-types'; -import { withWidth, CssBaseline, MuiThemeProvider } from '@material-ui/core'; +import { CssBaseline, MuiThemeProvider } from '@material-ui/core'; import { Navigator } from './core'; import { ROUTES } from './config'; @@ -256,11 +256,10 @@ function App(props) { setInitialized(true); }, [initialized]); - const { width, environment, darkTheme, lightTheme } = props; + const { environment, darkTheme, lightTheme } = props; const pageProps = { // Props - width, environment, routes: ROUTES, @@ -303,4 +302,4 @@ App.propTypes = { lightTheme: PropTypes.object.isRequired, }; -export default withWidth()(App); +export default App;