mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2025-05-19 12:58:14 +08:00
Added initial landing page
This commit is contained in:
parent
31d830b63d
commit
fd4c2e9ad6
9 changed files with 461 additions and 50 deletions
12
src/Components/Plugins/Redux/Store/Store.tsx
Normal file
12
src/Components/Plugins/Redux/Store/Store.tsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { configureStore } from "@reduxjs/toolkit";
|
||||
|
||||
const store = configureStore({
|
||||
reducer: {},
|
||||
});
|
||||
|
||||
export default store;
|
||||
|
||||
// Infer the `RootState` and `AppDispatch` types from the store itself
|
||||
export type RootState = ReturnType<typeof store.getState>;
|
||||
// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}
|
||||
export type AppDispatch = typeof store.dispatch;
|
Loading…
Add table
Add a link
Reference in a new issue