getDefaultMiddleware Redux Toolkit en desacuerdo

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