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 1ee1d86 commit dc74497Copy full SHA for dc74497
packages/file-input/src/FileInput.ts
@@ -59,7 +59,7 @@ const FileInput: React.ComponentType<FileInputProps> = withApollo(
59
let response = null;
60
61
try {
62
- response = await client.query({ query: FILE_UPLOAD_INFO_QUERY });
+ response = await client.query({ query: FILE_UPLOAD_INFO_QUERY, fetchPolicy: 'network-only' });
63
} catch (e) {
64
this.setState({ error: e });
65
0 commit comments