From f662dc9dc0c222a80f45d2d6756b66b8d3497571 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sat, 18 Jul 2026 20:22:53 +0900 Subject: [PATCH] #399 --- frontend/src/lib/useUnsavedChangesGuard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/useUnsavedChangesGuard.tsx b/frontend/src/lib/useUnsavedChangesGuard.tsx index 6ba9f65..81c8eb6 100644 --- a/frontend/src/lib/useUnsavedChangesGuard.tsx +++ b/frontend/src/lib/useUnsavedChangesGuard.tsx @@ -76,7 +76,7 @@ export const UnsavedChangesGuardProvider: FC = ({ children }) const shouldBlock = useCallback (() => { if (bypassNextNavigationRef.current != null) { - bypassNextNavigationRef.current = false + bypassNextNavigationRef.current = null return false }