Skip to content

Commit dc74497

Browse files
committed
feat(file-input): set fetchPolicy to network-only
1 parent 1ee1d86 commit dc74497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/file-input/src/FileInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const FileInput: React.ComponentType<FileInputProps> = withApollo(
5959
let response = null;
6060

6161
try {
62-
response = await client.query({ query: FILE_UPLOAD_INFO_QUERY });
62+
response = await client.query({ query: FILE_UPLOAD_INFO_QUERY, fetchPolicy: 'network-only' });
6363
} catch (e) {
6464
this.setState({ error: e });
6565

0 commit comments

Comments
 (0)