bigbuffet-rw/app/soapbox/hooks/useAppDispatch.ts

5 lines
158 B
TypeScript
Raw Normal View History

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