Skip to content

Commit

Permalink
depend default refreshOnVisibilityChange from refreshOnWindowFocus
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Falkenberg <[email protected]>
  • Loading branch information
maaaathis and mfal authored Nov 19, 2024
1 parent 60a89f2 commit de4a094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource/useWatchResourceValue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const useWatchResourceValue = <
keepValueWhileLoading = true,
useSuspense = true,
refreshOnWindowFocus = false,
refreshOnVisibilityChange = false,
refreshOnVisibilityChange = refreshOnWindowFocus,
autoRefresh,
} = options;

Expand Down

0 comments on commit de4a094

Please sign in to comment.