Posted on

yyakjhaak

import { configureStore } from '@reduxjs/toolkit';
import counterReducer from './features/counter/counterSlice';

// Step 1: Configure the store with the counter reducer
export const store = configureStore({
  reducer: {
    counter: counterReducer,
  },
});