first commit

This commit is contained in:
Jeannette Chin committed 2026-10-04 14:02:29 +01:00
commit 8863184a41
42 files changed
+3660

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import { configureStore } from "@reduxjs/toolkit";
import "@/lib/features/people/personSlice";
import personReducer from "./features/people/personSlice";
export const makeStore = () => {
return configureStore({
reducer: { people: personReducer },
});
};
// Infer the type of makeStore
export type AppStore = ReturnType<typeof makeStore>;
// Infer the `RootState` and `AppDispatch` types from the store itself
export type RootState = ReturnType<AppStore["getState"]>;
export type AppDispatch = AppStore["dispatch"];