Feat: redux for images in tier list
This commit is contained in:
5
src/hooks.ts
Normal file
5
src/hooks.ts
Normal 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>();
|
||||
Reference in New Issue
Block a user