Reactjs – redux tookit when using a middleware builder function, an array of middleware must be returned
So I'm getting Uncaught Error: when using a middleware builder function, an array of middleware must be returned This is my code import { configureStore, compose, combineReducers, applyMiddleware } from "@reduxjs/toolkit"; import thunk from "redux-thunk"; const rootReducer = combineReducers({}); const…