meriadec
7 years ago
No known key found for this signature in database
GPG Key ID: 1D2FC2305E2CB399
4 changed files with
2 additions and
8 deletions
-
src/components/base/CheckBox/stories.js
-
src/components/base/Radio/stories.js
-
src/components/base/Tabs/stories.js
-
src/renderer/createStore.js
|
|
@ -1,5 +1,3 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React from 'react' |
|
|
|
import { storiesOf } from '@storybook/react' |
|
|
|
import { boolean } from '@storybook/addon-knobs' |
|
|
|
|
|
@ -1,5 +1,3 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React from 'react' |
|
|
|
import { storiesOf } from '@storybook/react' |
|
|
|
import { action } from '@storybook/addon-actions' |
|
|
|
|
|
@ -1,5 +1,3 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import React from 'react' |
|
|
|
|
|
|
|
import { number } from '@storybook/addon-knobs' |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
// @flow
|
|
|
|
|
|
|
|
import type { RouterHistory } from 'react-router-dom' |
|
|
|
import type { HashHistory } from 'history' |
|
|
|
|
|
|
|
import { createStore, applyMiddleware, compose } from 'redux' |
|
|
|
import { routerMiddleware } from 'react-router-redux' |
|
|
@ -10,7 +10,7 @@ import db from 'middlewares/db' |
|
|
|
|
|
|
|
import reducers from 'reducers' |
|
|
|
|
|
|
|
export default (history: RouterHistory) => { |
|
|
|
export default (history: HashHistory) => { |
|
|
|
const middlewares = [routerMiddleware(history), thunk, db] |
|
|
|
const enhancers = compose( |
|
|
|
applyMiddleware(...middlewares), |
|
|
|