feat(webapp): wip tax rate form dialog

This commit is contained in:
Ahmed Bouhuolia
2023-09-18 01:35:53 +02:00
parent fbd74c559b
commit 2356921f27
14 changed files with 348 additions and 119 deletions

View File

@@ -1,12 +1,7 @@
// @ts-nocheck
import React from 'react';
import intl from 'react-intl-universal';
import { Intent, Alert } from '@blueprintjs/core';
import {
AppToaster,
FormattedMessage as T,
FormattedHTMLMessage,
} from '@/components';
import { AppToaster, FormattedMessage as T } from '@/components';
import { useDeleteTaxRate } from '@/hooks/query/taxRates';
@@ -40,7 +35,6 @@ function TaxRateDeleteAlert({
const handleCancelItemDelete = () => {
closeAlert(name);
};
// Handle confirm delete item.
const handleConfirmDeleteItem = () => {
deleteTaxRate(taxRateId)