Skip to content

Commit

Permalink
Merge branch 'master' into np/axis-gizmo-xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscognite authored Sep 18, 2024
2 parents b22dd1d + 8f64cec commit d248544
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ export const RevealContext = (props: RevealContextProps): ReactElement => {
const viewer = useRevealFromKeepAlive(props);

const queryClient = useMemo(() => {
return new QueryClient();
return new QueryClient({
defaultOptions: {
queries: {
refetchOnWindowFocus: false
}
}
});
}, []);

if (viewer === null) return <></>;
Expand Down

0 comments on commit d248544

Please sign in to comment.