Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -25,6 +25,7 @@ function ShopEmployeesContainer({ bodyshop }) {
|
||||
const employeeState = useState(null);
|
||||
const { loading, error, data, refetch } = useQuery(QUERY_EMPLOYEES, {
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
|
||||
const [updateEmployee] = useMutation(UPDATE_EMPLOYEE);
|
||||
|
||||
Reference in New Issue
Block a user