Skip to content

Commit

Permalink
wip (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovert Lota Palonpon authored May 5, 2019
1 parent 2378335 commit ffbc1f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions resources/js/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,

Expand Down Expand Up @@ -303,4 +302,4 @@ App.propTypes = {
lightTheme: PropTypes.object.isRequired,
};

export default withWidth()(App);
export default App;

0 comments on commit ffbc1f1

Please sign in to comment.