refactor(FE-Storyless): remove console, window and err catch

This commit is contained in:
rstubryan
2025-11-27 13:46:53 +07:00
parent 4b6144d0b4
commit 7a76719547
4 changed files with 7 additions and 10 deletions
@@ -241,9 +241,8 @@ const PurchaseOrderStaffApprovalForm = ({
);
formik.setFieldValue('items', updatedPurchaseItems);
}
} catch (error) {
} catch {
toast.error('Terjadi kesalahan saat menghapus item pembelian');
console.error('Delete item error:', error);
}
}, [
initialValues?.id,