Skip to content

Commit

Permalink
update redux store for bookmark
Browse files Browse the repository at this point in the history
  • Loading branch information
hhoangphuoc committed Feb 2, 2022
1 parent 00161c8 commit e781323
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions postureplus/frontend/redux/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,12 @@ import { persistStore, persistReducer } from "redux-persist";
import bookmarkReducer from "./bookmarkReducer";
import themeReducer from "./themeReducer";

// const persistConfig = {
// key: "root",
// storage: AsyncStorage,
// whitelist: ["wishlist"],
// };

const rootReducer = combineReducers({
// bookmarkReducer: persistReducer(persistConfig, bookmarkReducer),
bookmarkReducer,
themeReducer,
});

const store = createStore(rootReducer, applyMiddleware(thunk));
// const appPersist = persistStore(store);

export {
store,
Expand Down

0 comments on commit e781323

Please sign in to comment.