From 67c83b13e37526397959821c8e141902d5e8d367 Mon Sep 17 00:00:00 2001 From: mmilad75 <55688834+mmilad75@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:10:32 +0200 Subject: [PATCH] fix(wallet): remove edit routes button in bridging (#20874) Co-authored-by: Jamie Caprani --- src/status_im/contexts/wallet/send/events.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_im/contexts/wallet/send/events.cljs b/src/status_im/contexts/wallet/send/events.cljs index e3fa5c5173..6750f08ac3 100644 --- a/src/status_im/contexts/wallet/send/events.cljs +++ b/src/status_im/contexts/wallet/send/events.cljs @@ -76,11 +76,11 @@ :token-networks-ids token-networks-ids :tx-type tx-type :receiver? true}) - (-> + (cond-> (send-utils/reset-loading-network-amounts-to-zero receiver-network-values) - vec - (conj {:type :edit}))) + + (not= tx-type :tx/bridge) (conj {:type :edit}))) network-links (when routes-available? (send-utils/network-links chosen-route sender-network-values