[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:
Mohamed Javid 2024-02-12 19:11:17 +05:30 committed by GitHub
parent 1351a54fd1
commit 6669c33e33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,8 @@
{:account edited-account-data
:on-success #(show-save-account-toast updated-key)}])))
(def view
(defn view
[]
(let [edited-account-name (reagent/atom nil)
show-confirm-button? (reagent/atom false)
on-change-color (fn [edited-color {:keys [color] :as account}]