Updated apollo fetch policies to always be network only.
This commit is contained in:
@@ -10,7 +10,10 @@ import LoadingSpinner from "../loading-spinner/loading-spinner.component";
|
||||
import ShopCsiConfigForm from "../shop-csi-config-form/shop-csi-config-form.component";
|
||||
|
||||
export default function ShopCsiConfig() {
|
||||
const { loading, error, data } = useQuery(GET_ALL_QUESTION_SETS);
|
||||
const { loading, error, data } = useQuery(GET_ALL_QUESTION_SETS, {
|
||||
fetchPolicy: "network-only",
|
||||
nextFetchPolicy: "network-only",
|
||||
});
|
||||
const [selectedCsi, setselectedCsi] = useState(null);
|
||||
const { t } = useTranslation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user