Skip to content

Commit

Permalink
Lint and remove unused dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrickouw committed Jan 25, 2016
1 parent eab1162 commit 14d55c5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion examples/real-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"homepage": "https://rackt.github.io/redux",
"dependencies": {
"history": "^1.17.0",
"humps": "^0.6.0",
"isomorphic-fetch": "^2.1.1",
"lodash": "^4.0.0",
Expand Down
5 changes: 0 additions & 5 deletions examples/real-world/store/configureStore.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,18 @@ import { createStore, applyMiddleware, compose } from 'redux'
import { syncHistory } from 'react-router-redux'
import { browserHistory } from 'react-router'
import DevTools from '../containers/DevTools'
import createHistory from 'history/lib/createBrowserHistory'
import routes from '../routes'
import thunk from 'redux-thunk'
import api from '../middleware/api'
import createLogger from 'redux-logger'
import rootReducer from '../reducers'


const reduxRouterMiddleware = syncHistory(browserHistory)
const finalCreateStore = compose(
applyMiddleware(thunk, api, reduxRouterMiddleware),
applyMiddleware(createLogger()),
DevTools.instrument()
)(createStore)



export default function configureStore(initialState) {
const store = finalCreateStore(rootReducer, initialState)

Expand Down
2 changes: 0 additions & 2 deletions examples/real-world/store/configureStore.prod.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { createStore, applyMiddleware, compose } from 'redux'
import { syncHistory } from 'react-router-redux'
import { browserHistory } from 'react-router'
import createHistory from 'history/lib/createBrowserHistory'
import routes from '../routes'
import thunk from 'redux-thunk'
import api from '../middleware/api'
import rootReducer from '../reducers'
Expand Down

0 comments on commit 14d55c5

Please sign in to comment.