Skip to content

Commit b658b96

Browse files
committed
chore: location dependency added
1 parent c5953c4 commit b658b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/hooks/useVersionUpdate/useVersionUpdateReload.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const useVersionUpdateReload = ({ toastEligibleRoutes }: VersionUpdatePro
170170
},
171171
)
172172
}
173-
}, [bgUpdated])
173+
}, [bgUpdated, location])
174174

175175
// Sync local state with the service worker's needRefresh state
176176
useEffect(() => {

0 commit comments

Comments
 (0)