diff --git a/src/features/payment-methods/PaymentMethod/PaymentMethod.tsx b/src/features/payment-methods/PaymentMethod/PaymentMethod.tsx index 823953d..899d8f8 100644 --- a/src/features/payment-methods/PaymentMethod/PaymentMethod.tsx +++ b/src/features/payment-methods/PaymentMethod/PaymentMethod.tsx @@ -10,38 +10,26 @@ interface IPaymentMethodProps { } function PaymentMethod({ method, onSelect }: IPaymentMethodProps) { + + const { name, type, isActive, icon } = method; const handleClick = () => { onSelect?.(method); }; return (
{method.type}
- {(method.minAmount || method.maxAmount) && ( -{type}
+