From 60c0ad1e16ce26a5700a7217ca710da7ee0386f4 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 20 Aug 2019 09:10:12 -0700 Subject: [PATCH] Actually use useDispatch --- js/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }