From 9534f7b25609f2e665a22b58bed7828015e101fd Mon Sep 17 00:00:00 2001 From: Pedro Pablo Aste Kompen Date: Fri, 16 Jun 2023 10:34:53 -0400 Subject: [PATCH] refactor(on-ramp): remove unnecessary casting of event param --- app/components/UI/FiatOnRampAggregator/Views/Quotes/Quotes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/UI/FiatOnRampAggregator/Views/Quotes/Quotes.tsx b/app/components/UI/FiatOnRampAggregator/Views/Quotes/Quotes.tsx index ab01ef63ee64..f3a954b38114 100644 --- a/app/components/UI/FiatOnRampAggregator/Views/Quotes/Quotes.tsx +++ b/app/components/UI/FiatOnRampAggregator/Views/Quotes/Quotes.tsx @@ -372,7 +372,7 @@ function Quotes() { payment_method_id: selectedPaymentMethodId as string, chain_id_destination: selectedChainId, error_message: quote.message, - amount: params.amount as number, + amount: params.amount, }), ); }