Skip to content

Commit

Permalink
fix(fe): change dependency for ConfirmNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
jihorobert committed Dec 30, 2024
1 parent d7e2a8e commit d94655d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/app/(client)/(main)/settings/_libs/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const useConfirmNavigation = (
return () => {
router.push = originalPush
}
}, [router, bypassConfirmation.current])
}, [router, bypassConfirmation, updateNow])

return { isConfirmModalOpen, setIsConfirmModalOpen, confirmAction }
}

0 comments on commit d94655d

Please sign in to comment.