[Fix] Edited wallet account name persists in other edit account screens (#18729)
This commit fixes the edited wallet account name that persists in other account edit screens. Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
This commit is contained in:
parent
1351a54fd1
commit
6669c33e33
|
@ -33,7 +33,8 @@
|
||||||
{:account edited-account-data
|
{:account edited-account-data
|
||||||
:on-success #(show-save-account-toast updated-key)}])))
|
:on-success #(show-save-account-toast updated-key)}])))
|
||||||
|
|
||||||
(def view
|
(defn view
|
||||||
|
[]
|
||||||
(let [edited-account-name (reagent/atom nil)
|
(let [edited-account-name (reagent/atom nil)
|
||||||
show-confirm-button? (reagent/atom false)
|
show-confirm-button? (reagent/atom false)
|
||||||
on-change-color (fn [edited-color {:keys [color] :as account}]
|
on-change-color (fn [edited-color {:keys [color] :as account}]
|
||||||
|
|
Loading…
Reference in New Issue