Actually use useDispatch

This commit is contained in:
Jordan Eldredge 2019-08-20 09:10:12 -07:00
parent e79520dbdd
commit 60c0ad1e16

View file

@ -44,5 +44,5 @@ export function useTypedSelector<T>(selector: (state: AppState) => T): T {
}
export function useTypedDispatch(): (action: Action | Thunk) => void {
return useDispatch;
return useDispatch();
}