File tree 4 files changed +10
-2840
lines changed 4 files changed +10
-2840
lines changed Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Provider } from 'react-redux' ;
3
+ import { MemoryRouter } from 'react-router' ;
3
4
4
5
import ThemeProvider from '../client/modules/App/components/ThemeProvider' ;
5
6
import configureStore from '../client/store' ;
6
7
import '../client/i18n-test' ;
7
- import '../client/styles/build/css/main .css'
8
+ import '../client/styles/storybook .css'
8
9
9
10
const initialState = window . __INITIAL_STATE__ ;
10
11
@@ -13,9 +14,11 @@ const store = configureStore(initialState);
13
14
export const decorators = [
14
15
( Story ) => (
15
16
< Provider store = { store } >
16
- < ThemeProvider >
17
- < Story />
18
- </ ThemeProvider >
17
+ < MemoryRouter >
18
+ < ThemeProvider >
19
+ < Story />
20
+ </ ThemeProvider >
21
+ </ MemoryRouter >
19
22
</ Provider >
20
23
) ,
21
24
]
Original file line number Diff line number Diff line change
1
+ storybook.css
You can’t perform that action at this time.
0 commit comments