feat: basic ui layout

This commit is contained in:
鲁树人
2023-05-07 23:29:37 +01:00
parent 53682a1cdb
commit 38aa81b5bc
16 changed files with 375 additions and 104 deletions

6
src/hooks.ts Normal file
View File

@@ -0,0 +1,6 @@
import { useDispatch, useSelector } from 'react-redux';
import type { TypedUseSelectorHook } from 'react-redux';
import type { RootState, AppDispatch } from './store';
export const useAppDispatch: () => AppDispatch = useDispatch;
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;