Skip to content

Commit c0be86f

Browse files
committed
fixed root reducer from redux to toolkits
1 parent 55de283 commit c0be86f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/redux/reducers/rootReducer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { combineReducers } from 'redux';
1+
import { combineReducers } from '@reduxjs/toolkit';
22

33
// Need to import each slice which will be combined in the rootReducer
44
import darkModeReducer from './slice/darkModeSlice.ts';
@@ -15,7 +15,7 @@ const rootReducer = combineReducers({
1515
contextSlice: contextReducer,
1616
appState: appStateReducer,
1717
styleSlice: styleReducer,
18-
roomCodeSlice: roomCodeReducer
18+
roomCodeSlice: roomCodeReducer,
1919
});
2020

2121
export default rootReducer;

0 commit comments

Comments
 (0)