bigbuffet-rw/app/soapbox/hooks/useAppDispatch.ts
marcin mikołajczak 39b819241f Dashboard styles, typescript, add useAppDispatch
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-14 15:24:11 +02:00

5 lines
No EOL
153 B
TypeScript

import { useDispatch } from 'react-redux';
import { AppDispatch } from 'soapbox/store';
export const useAppDispatch = () => useDispatch<AppDispatch>();