marked ou the project

This commit is contained in:
Joe_Peach committed 2026-09-19 16:39:55 +03:00
1 parent 0efb94a37c
commit d2820757b9
25 files changed
+909 -428

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { useDispatch, useSelector } from 'react-redux'
import type { RootState, AppDispatch } from '../store/store'
import type {TypedUseSelectorHook} from 'react-redux'
export const useAppDispatch = () => useDispatch<AppDispatch>()
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector
+1
View File
@@ -0,0 +1 @@
+13
View File
@@ -0,0 +1,13 @@
import { configureStore } from '@reduxjs/toolkit'
//import requestReducer from './slices/slice'
export const store = configureStore({
reducer: {
//request: requestReducer
}
});
(window as any).store = store;
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;