diff --git a/package.json b/package.json index 443b494..d0fc968 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-react-ssr", - "version": "2.0.9", + "version": "2.0.10", "description": "Starter Kit of server side render of react", "bin": "./bin/cli.js", "main": "src/server/index", diff --git a/src/frontend/setStore.ts b/src/frontend/setStore.ts index bc7fcc6..19fcea2 100644 --- a/src/frontend/setStore.ts +++ b/src/frontend/setStore.ts @@ -1,5 +1,5 @@ // Redux -import { createStore } from 'redux'; //, applyMiddleware +import { legacy_createStore as createStore} from 'redux'; //, applyMiddleware // import { Provider } from 'react-redux'; import { composeWithDevTools as composeWithDevToolsWeb } from 'redux-devtools-extension'; import config from '../../config';