Skip to content

Commit

Permalink
removes unnecessary dependency from asThunkHook (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
scandycuz authored Apr 2, 2024
1 parent 44beb6d commit 7772656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/lib/redux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const asThunkHook = <Returned, Arg>(
setData(result.payload);
setIsLoading(false);
},
[dispatch, setIsLoading]
[dispatch]
);

return [callHook, { data, isLoading }];
Expand Down

0 comments on commit 7772656

Please sign in to comment.