mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-19 09:33:47 +00:00
Actually use useDispatch
This commit is contained in:
parent
e79520dbdd
commit
60c0ad1e16
1 changed files with 1 additions and 1 deletions
|
|
@ -44,5 +44,5 @@ export function useTypedSelector<T>(selector: (state: AppState) => T): T {
|
|||
}
|
||||
|
||||
export function useTypedDispatch(): (action: Action | Thunk) => void {
|
||||
return useDispatch;
|
||||
return useDispatch();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue