'use client' import { configureStore } from "@reduxjs/toolkit" import couterReducer from "./features/couterSlice" export const store = configureStore({ reducer: { counter: couterReducer }, }) export type RootState = ReturnType export type AppDispatch = typeof store.dispatch