From d150cfa46ca07244afcc1733cc30bd4b98312bba Mon Sep 17 00:00:00 2001 From: Palash gupta Date: Mon, 6 Jun 2022 10:48:12 +0530 Subject: [PATCH] fix: using legacy_createStore instead of createStore as it seem it is depecreated --- frontend/src/store/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/store/index.ts b/frontend/src/store/index.ts index 39f43fdf85..3ff983b82e 100644 --- a/frontend/src/store/index.ts +++ b/frontend/src/store/index.ts @@ -1,4 +1,8 @@ -import { applyMiddleware, compose, createStore } from 'redux'; +import { + applyMiddleware, + compose, + legacy_createStore as createStore, +} from 'redux'; import thunk, { ThunkMiddleware } from 'redux-thunk'; import AppActions from 'types/actions';