diff --git a/src/resource/useWatchResourceValue.ts b/src/resource/useWatchResourceValue.ts index 1d7b1dc..670b203 100644 --- a/src/resource/useWatchResourceValue.ts +++ b/src/resource/useWatchResourceValue.ts @@ -19,7 +19,7 @@ export const useWatchResourceValue = < keepValueWhileLoading = true, useSuspense = true, refreshOnWindowFocus = false, - refreshOnVisibilityChange = false, + refreshOnVisibilityChange = refreshOnWindowFocus, autoRefresh, } = options;