File tree Expand file tree Collapse file tree 4 files changed +10
-2840
lines changed Expand file tree Collapse file tree 4 files changed +10
-2840
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { Provider } from 'react-redux' ;
3+ import { MemoryRouter } from 'react-router' ;
34
45import ThemeProvider from '../client/modules/App/components/ThemeProvider' ;
56import configureStore from '../client/store' ;
67import '../client/i18n-test' ;
7- import '../client/styles/build/css/main .css'
8+ import '../client/styles/storybook .css'
89
910const initialState = window . __INITIAL_STATE__ ;
1011
@@ -13,9 +14,11 @@ const store = configureStore(initialState);
1314export const decorators = [
1415 ( Story ) => (
1516 < Provider store = { store } >
16- < ThemeProvider >
17- < Story />
18- </ ThemeProvider >
17+ < MemoryRouter >
18+ < ThemeProvider >
19+ < Story />
20+ </ ThemeProvider >
21+ </ MemoryRouter >
1922 </ Provider >
2023 ) ,
2124]
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