Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -28,6 +28,7 @@ export function JobNotesContainer({ jobId, insertAuditTrail }) {
|
||||
const { loading, error, data, refetch } = useQuery(QUERY_NOTES_BY_JOB_PK, {
|
||||
variables: { id: jobId },
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
|
||||
const [deleteNote] = useMutation(DELETE_NOTE);
|
||||
|
||||
Reference in New Issue
Block a user