This repository was archived by the owner on Jun 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,10 @@ import useScroll from 'react-router-scroll';
10
10
import { ReduxAsyncConnect } from 'redux-connect' ;
11
11
import { syncHistoryWithStore } from 'react-router-redux' ;
12
12
import { AppContainer } from 'react-hot-loader' ;
13
- import { ThemeProvider } from 'styled-components' ;
14
13
15
14
import debug from 'debug' ;
16
15
17
16
import config from './config' ;
18
- import theme from './theme' ;
19
17
import ApiClient from './helpers/ApiClient' ;
20
18
import createStore from './redux/create' ;
21
19
import routes from './routes' ;
@@ -49,18 +47,16 @@ match(
49
47
{ history, routes : routes ( store ) } ,
50
48
( error , redirectLocation , renderProps ) => {
51
49
const component = (
52
- < ThemeProvider theme = { theme } >
53
- < Router
54
- { ...renderProps }
55
- render = { props => (
56
- < ReduxAsyncConnect
57
- { ...props }
58
- helpers = { { client } }
59
- render = { applyRouterMiddleware ( useScroll ( ) ) }
60
- />
50
+ < Router
51
+ { ...renderProps }
52
+ render = { props => (
53
+ < ReduxAsyncConnect
54
+ { ...props }
55
+ helpers = { { client } }
56
+ render = { applyRouterMiddleware ( useScroll ( ) ) }
57
+ />
61
58
) }
62
- />
63
- </ ThemeProvider >
59
+ />
64
60
) ;
65
61
66
62
const mountNode = document . getElementById ( 'app' ) ;
You can’t perform that action at this time.
0 commit comments