Skip to content

Commit

Permalink
fix: remove theme in wallet/edit-account
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaster115 committed Dec 14, 2023
1 parent 293cd61 commit 21ad1c3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/status_im2/contexts/wallet/edit_account/view.cljs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
(ns status-im2.contexts.wallet.edit-account.view
(:require [quo.core :as quo]
[quo.theme :as quo.theme]
[react-native.core :as rn]
[reagent.core :as reagent]
[status-im2.contexts.wallet.common.screen-base.create-or-edit-account.view
Expand Down Expand Up @@ -31,8 +30,7 @@
{:account edited-account-data
:on-success #(show-save-account-toast updated-key)}])))

(defn- view-internal
[]
(def view
(let [edited-account-name (reagent/atom nil)
show-confirm-button? (reagent/atom false)
on-change-color (fn [edited-color {:keys [color] :as account}]
Expand Down Expand Up @@ -97,8 +95,5 @@
(save-account
{:account account
:updated-key :prod-preferred-chain-ids
:new-value chain-ids
:theme theme}))}])}]))
:new-value chain-ids}))}])}]))
:container-style style/data-item}]]))))

(def view (quo.theme/with-theme view-internal))

0 comments on commit 21ad1c3

Please sign in to comment.