fix: ssr for /
This commit is contained in:
parent
297eadc59b
commit
f4bb0d19eb
|
@ -69,6 +69,8 @@ const CommonDisplay: React.FC<Props> = ({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
pause: !isFirstRender,
|
pause: !isFirstRender,
|
||||||
|
// note that if we don't force cache-only on SSR then queryResults.fetching is true which leads to an empty page
|
||||||
|
requestPolicy: isFirstRender ? "cache-only" : "network-only",
|
||||||
});
|
});
|
||||||
|
|
||||||
const queryIsEmpty =
|
const queryIsEmpty =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user