Skip to content

Commit

Permalink
Merge pull request #610 from elPandaFriki/609-fix-types-for-redux-log…
Browse files Browse the repository at this point in the history
…ger-middleware

fixed types
  • Loading branch information
elPandaFriki authored Dec 17, 2023
2 parents 78849bf + 58697ba commit 79c5bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redux/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { configureStore } from '@reduxjs/toolkit';
import { configureStore, Middleware } from '@reduxjs/toolkit';
import reducers from './reducers';
import logger from 'redux-logger';

const store = configureStore({
reducer: reducers,
middleware: getDefaultMiddleware => {
return getDefaultMiddleware().concat(logger);
return getDefaultMiddleware().concat(logger as Middleware);
}
});

Expand Down

0 comments on commit 79c5bd9

Please sign in to comment.