Token value shows fiat value on the transaction confirmation page #20734 (#20770)

This commit is contained in:
mmilad75 2024-07-17 10:47:27 +02:00 committed by GitHub
parent 2d0437dd5e
commit a912125ba9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -154,11 +154,9 @@
[input-state set-input-state] (rn/use-state controlled-input/init-state)
[just-toggled-mode? set-just-toggled-mode?] (rn/use-state false)
clear-input! #(set-input-state controlled-input/delete-all)
handle-on-confirm (fn []
handle-on-confirm (fn [amount]
(rf/dispatch [:wallet/set-token-amount-to-send
{:amount
(controlled-input/input-value
input-state)
{:amount amount
:stack-id current-screen-id}]))
{fiat-currency :currency} (rf/sub [:profile/profile])
{token-symbol :symbol

View File

@ -157,7 +157,6 @@
[quo/data-item
{:container-style style/detail-item
:blur? false
:description :default
:card? false
:status :default
:size :small