From 04e460d953487f4d3985fb9e3201a2dcda28a816 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Sun, 1 Mar 2026 17:48:09 +0100 Subject: [PATCH] chore: migrate redux-thunk to v4 --- admin/src/helpers/configureStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/src/helpers/configureStore.js b/admin/src/helpers/configureStore.js index bc77e59..053ba77 100755 --- a/admin/src/helpers/configureStore.js +++ b/admin/src/helpers/configureStore.js @@ -1,5 +1,5 @@ import { createStore, applyMiddleware, compose } from 'redux'; -import thunkMiddleware from 'redux-thunk'; +import { thunk } from 'redux-thunk'; import { Map } from 'immutable'; import rootReducer from '../state/reducers'; @@ -10,7 +10,7 @@ const configureStore = () => { const enhancers = []; const middlewares = [ - thunkMiddleware, + thunk, ]; let devtools;