diff --git a/apps/frontend/app/(client)/(main)/settings/_libs/utils.ts b/apps/frontend/app/(client)/(main)/settings/_libs/utils.ts index 4cc473bb8..b312708ad 100644 --- a/apps/frontend/app/(client)/(main)/settings/_libs/utils.ts +++ b/apps/frontend/app/(client)/(main)/settings/_libs/utils.ts @@ -53,7 +53,7 @@ export const useConfirmNavigation = ( return () => { router.push = originalPush } - }, [router, bypassConfirmation.current]) + }, [router, bypassConfirmation, updateNow]) return { isConfirmModalOpen, setIsConfirmModalOpen, confirmAction } }