Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -77,6 +77,8 @@ export function BillDetailEditcontainer({
|
||||
const { loading, error, data, refetch } = useQuery(QUERY_BILL_BY_PK, {
|
||||
variables: { billid: search.billid },
|
||||
skip: !!!search.billid,
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
|
||||
const handleSave = () => {
|
||||
|
||||
Reference in New Issue
Block a user