Skip to content

Commit

Permalink
added browserlist in package.json & improved import for createBrowser…
Browse files Browse the repository at this point in the history
…History() (#112)
  • Loading branch information
01abhay authored and notrab committed Aug 7, 2019
1 parent acbacc4 commit ef47ac1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,11 @@
"redux-thunk": "2.3.0",
"sanitize.css": "7.0.3",
"serve": "10.1.2"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
4 changes: 2 additions & 2 deletions src/store.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createStore, applyMiddleware, compose } from 'redux'
import { connectRouter, routerMiddleware } from 'connected-react-router'
import thunk from 'redux-thunk'
import createHistory from 'history/createBrowserHistory'
import * as History from 'history'
import rootReducer from './modules'

export const history = createHistory()
export const history = History.createBrowserHistory()

const initialState = {}
const enhancers = []
Expand Down

1 comment on commit ef47ac1

@vercel
Copy link

@vercel vercel bot commented on ef47ac1 Aug 7, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

The chosen alias "create-react-app-redux.now.sh" is already in use by another account.

Please sign in to comment.