mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-23 21:49:54 +05:30
13 lines
327 B
JavaScript
13 lines
327 B
JavaScript
import React from 'react';
|
|
import { ContextProvider } from 'app/shell';
|
|
import { browserHistory } from 'app/services/history';
|
|
import storeFactory from 'app/storeFactory';
|
|
|
|
const store = storeFactory();
|
|
|
|
export default story => (
|
|
<ContextProvider store={store} history={browserHistory}>
|
|
{story()}
|
|
</ContextProvider>
|
|
);
|