Skip to content

Instantly share code, notes, and snippets.

@rahulmore01
Created September 5, 2023 12:51
Show Gist options
  • Save rahulmore01/908955a941c2e3040802c1578bc5fde9 to your computer and use it in GitHub Desktop.
Save rahulmore01/908955a941c2e3040802c1578bc5fde9 to your computer and use it in GitHub Desktop.
blog-redux file store.js
"use client";
import { configureStore } from "@reduxjs/toolkit";
import userReducer from "./features/userSlice";
const store = configureStore({
reducer: {
user: userReducer,
},
});
export default store;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment