fixing transasction type and transaction fee
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle , DialogDescription} from '@/components/ui/dialog';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Alert, useDataGrid } from '@/components';
|
||||
import { useCallback, useState } from 'react';
|
||||
@ -6,7 +6,6 @@ import { apiConfig } from '@/config/api.config';
|
||||
import { toast } from 'sonner';
|
||||
import { useCallApi } from '@/hooks';
|
||||
import { useManageTransferFeeContext } from '../hooks/useManageTransferFeeContext';
|
||||
import { DialogDescription } from '@radix-ui/react-dialog';
|
||||
|
||||
const API_URL = apiConfig.service_transaction;
|
||||
|
||||
@ -27,10 +26,10 @@ const DeleteDialog = () => {
|
||||
if (response?.status) {
|
||||
setAlert({ show: false, message: '' });
|
||||
handleDeleteFeeDialog(false, null);
|
||||
toast.success('Success Delete Product');
|
||||
// toast.success('Success Delete Transaction Fee');
|
||||
reload();
|
||||
} else {
|
||||
toast.error('Failed Delete Product');
|
||||
// toast.error('Failed Delete Transaction Fee');
|
||||
setAlert({ show: true, message: response?.message });
|
||||
}
|
||||
}, [selectedTransferFee]);
|
||||
|
||||
Reference in New Issue
Block a user