diff --git a/js/hooks.ts b/js/hooks.ts index efe2b1cd..dd8714d3 100644 --- a/js/hooks.ts +++ b/js/hooks.ts @@ -44,5 +44,5 @@ export function useTypedSelector(selector: (state: AppState) => T): T { } export function useTypedDispatch(): (action: Action | Thunk) => void { - return useDispatch; + return useDispatch(); }