import { createStore } from 'redux'
import reducer from './counter-app/reducer'

export default createStore(reducer)

import { createStore } from 'redux'
import reducer from './counter-app/reducer'

export default createStore(
  reducer,
  typeof window !== 'undefined' && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)

Make sure Redux Devtools is finding the store (#894)