Skip to content

Commit

Permalink
Update useCallback deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Humphreys committed Jan 17, 2023
1 parent 9f7960a commit 70fa54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export function useModal(modal?: any, args?: any): any {
rejectCallback(args);
hideCallback();
},
[resolveCallback, hideCallback],
[rejectCallback, hideCallback],
);

return {
Expand Down

0 comments on commit 70fa54b

Please sign in to comment.