Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -13,6 +13,8 @@ export default function PaymentFormTotalPayments({ jobid }) {
|
||||
const { loading, error, data } = useQuery(QUERY_JOB_PAYMENT_TOTALS, {
|
||||
variables: { id: jobid },
|
||||
skip: !jobid,
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
|
||||
if (loading) return <LoadingSpinner />;
|
||||
|
||||
Reference in New Issue
Block a user