bigbuffet-rw/app/soapbox/hooks/useAppDispatch.ts
marcin mikołajczak 708c3a9e64 TypeScript: actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-10 19:56:22 +02:00

5 lines
No EOL
158 B
TypeScript

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