import { configureStore } from "@reduxjs/toolkit";
import counterReducer from "./reducers/counterReducer";

const store = configureStore({
  reducer: {
    counter: counterReducer,
    // Define a top-level state field named `todos`, handled by `todosReducer`
  },
});

export default store;
