getDefaultmiddleware Redux инструментарий устарел

const store = configureStore({
  reducer: rootReducer,
  middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat(logger),
})
Concerned Curlew