Skip to content

Commit

Permalink
Use Material UI CssBaseline
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbitter committed Dec 9, 2019
1 parent ca02338 commit 5ca8126
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
13 changes: 0 additions & 13 deletions website/src/index.css

This file was deleted.

12 changes: 10 additions & 2 deletions website/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
import React from 'react';
import ReactDOM from 'react-dom';
import CssBaseline from '@material-ui/core/CssBaseline';
import Box from '@material-ui/core/Box';
import Devices from './components/Devices';
import { view } from 'react-easy-state';
import 'typeface-roboto';
import './index.css';

const App = view(() => {
return <Devices />;
return (
<React.Fragment>
<CssBaseline />
<Box component="div" m={3}>
<Devices />
</Box>
</React.Fragment>
);
});

ReactDOM.render(<App />, document.getElementById('root'));

0 comments on commit 5ca8126

Please sign in to comment.