mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Add a global fetch policy config for graphql clients
This commit is contained in:
@@ -33,8 +33,7 @@ const SupportSidebar = ({ onClose }: SupportSideBarProps) => {
|
||||
query: GET_PROJECT_THREADS,
|
||||
variables: {
|
||||
projectId: location.pathname.split('/')[2] as string,
|
||||
},
|
||||
fetchPolicy: 'network-only',
|
||||
}
|
||||
});
|
||||
setProjectThreads(threads?.data?.threads!);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user