Browse Source

Fix flow

master
meriadec 7 years ago
parent
commit
5c321242c8
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/base/CheckBox/stories.js
  2. 2
      src/components/base/Radio/stories.js
  3. 2
      src/components/base/Tabs/stories.js
  4. 4
      src/renderer/createStore.js

2
src/components/base/CheckBox/stories.js

@ -1,5 +1,3 @@
// @flow
import React from 'react'
import { storiesOf } from '@storybook/react'
import { boolean } from '@storybook/addon-knobs'

2
src/components/base/Radio/stories.js

@ -1,5 +1,3 @@
// @flow
import React from 'react'
import { storiesOf } from '@storybook/react'
import { action } from '@storybook/addon-actions'

2
src/components/base/Tabs/stories.js

@ -1,5 +1,3 @@
// @flow
import React from 'react'
import { number } from '@storybook/addon-knobs'

4
src/renderer/createStore.js

@ -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),

Loading…
Cancel
Save