IO-1567 Resolve refretch on export.
This commit is contained in:
@@ -28,7 +28,9 @@ export function PaymentExportButton({
|
||||
setSelectedPayments,
|
||||
}) {
|
||||
const { t } = useTranslation();
|
||||
const [updatePayment] = useMutation(UPDATE_PAYMENTS);
|
||||
const [updatePayment] = useMutation(UPDATE_PAYMENTS, {
|
||||
refetchQueries: ["QUERY_PAYMENTS_FOR_EXPORT "],
|
||||
});
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [insertExportLog] = useMutation(INSERT_EXPORT_LOG);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user