Revert "IO-1567 Resolve refretch on export."

This reverts commit cd191dae70.
This commit is contained in:
Patrick Fic
2021-12-09 17:06:19 -08:00
parent cd191dae70
commit 2b635ba3bf
6 changed files with 14 additions and 20 deletions

View File

@@ -28,9 +28,7 @@ export function PayableExportButton({
setSelectedBills,
}) {
const { t } = useTranslation();
const [updateBill] = useMutation(UPDATE_BILLS, {
refetchQueries: ["QUERY_BILLS_FOR_EXPORT "],
});
const [updateBill] = useMutation(UPDATE_BILLS);
const [loading, setLoading] = useState(false);
const [insertExportLog] = useMutation(INSERT_EXPORT_LOG);