Skip to content

Commit

Permalink
fix: linear items update issue (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbach committed Mar 31, 2022
1 parent bfb6aea commit 375a118
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const useUpdateLinearItems = (
// eslint-disable-next-line react-hooks/rules-of-hooks
newChangeHandlers[event] = useCallback<any>(
(...args: any[]) => {
update();
(changeHandlers[event] as any)(...args);
update();
},
[changeHandlers, event, update]
);
Expand Down

0 comments on commit 375a118

Please sign in to comment.