We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5454590 commit 615d290Copy full SHA for 615d290
packages/frontend/src/pages/Tile/index.tsx
@@ -46,7 +46,9 @@ export default function Tile(): JSX.Element {
46
headers: { 'x-tiles-view-key': urlViewOnlyKey },
47
}
48
: undefined,
49
- fetchPolicy: 'network-only',
+ // this fetchPolicy needs to be set for onCompleted to be called on refetch
50
+ // i.e. after csv upload
51
+ fetchPolicy: 'cache-and-network',
52
onCompleted: async (data) => {
53
if (!data.getAllRows) {
54
return
0 commit comments