Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -13,7 +13,10 @@ import ShopTemplateDeleteComponent from "../shop-template-delete/shop-template-d
|
||||
|
||||
export default function ShopTemplatesListContainer({ visibleState }) {
|
||||
const [visible, setVisible] = visibleState;
|
||||
const { loading, error, data, refetch } = useQuery(QUERY_CUSTOM_TEMPLATES);
|
||||
const { loading, error, data, refetch } = useQuery(QUERY_CUSTOM_TEMPLATES, {
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
const { t } = useTranslation();
|
||||
const search = queryString.parse(useLocation().search);
|
||||
const history = useHistory();
|
||||
|
||||
Reference in New Issue
Block a user