mirror of
https://github.com/status-im/status-react.git
synced 2025-02-03 22:56:19 +00:00
feat(wallet): disable complex routing (#20901)
This commit is contained in:
parent
1f5bb579c9
commit
11a84ba145
@ -504,6 +504,8 @@
|
||||
(let [suggested-routes-new-data (data-store/rpc->suggested-routes data)
|
||||
suggested-routes (-> suggested-routes-new-data
|
||||
first
|
||||
;; if route is multichain, we remove it
|
||||
(update :best (fn [best] (if (> (count best) 1) [] best)))
|
||||
(update :best #(map data-store/new->old-route-path %))
|
||||
(update :candidates #(map data-store/new->old-route-path %)))]
|
||||
{:fx [[:dispatch
|
||||
|
Loading…
x
Reference in New Issue
Block a user