Feat: redux for images in tier list

This commit is contained in:
2025-01-08 16:35:14 +03:00
parent 3de1ef1080
commit 4c8bcf07b3
8 changed files with 98 additions and 17 deletions

5
src/hooks.ts Normal file
View File

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