2019-07-07 15:54:39 +02:00
|
|
|
import React, { Component } from 'react'
|
2019-07-18 18:33:28 +02:00
|
|
|
import { createGlobalStyle } from 'styled-components'
|
|
|
|
|
|
|
|
const GlobalStyle = createGlobalStyle`
|
|
|
|
#root, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
`
|
2019-07-07 15:54:39 +02:00
|
|
|
|
|
|
|
import Routes from './Routes'
|
2019-07-05 00:36:32 +02:00
|
|
|
|
|
|
|
class App extends Component {
|
|
|
|
render() {
|
2019-07-18 18:33:28 +02:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<GlobalStyle />
|
|
|
|
<Routes />
|
|
|
|
</>
|
|
|
|
)
|
2019-07-05 00:36:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-07 15:54:39 +02:00
|
|
|
export default App
|