fix(wallet): remove edit routes button in bridging (#20874)

Co-authored-by: Jamie Caprani <jamiecaprani@gmail.com>
This commit is contained in:
mmilad75 2024-07-29 18:10:32 +02:00 committed by GitHub
parent 11a84ba145
commit 67c83b13e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -76,11 +76,11 @@
:token-networks-ids token-networks-ids :token-networks-ids token-networks-ids
:tx-type tx-type :tx-type tx-type
:receiver? true}) :receiver? true})
(-> (cond->
(send-utils/reset-loading-network-amounts-to-zero (send-utils/reset-loading-network-amounts-to-zero
receiver-network-values) receiver-network-values)
vec
(conj {:type :edit}))) (not= tx-type :tx/bridge) (conj {:type :edit})))
network-links (when routes-available? network-links (when routes-available?
(send-utils/network-links chosen-route (send-utils/network-links chosen-route
sender-network-values sender-network-values