Skip to content

Commit 823fc36

Browse files
committed
lint
1 parent c624805 commit 823fc36

File tree

5 files changed

+381
-381
lines changed

5 files changed

+381
-381
lines changed

src/status_im2/contexts/profile/create/events.cljs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
[utils.security.core :as security]))
99

1010
(rf/defn create-profile-and-login
11-
{:events [:profile.create/create-and-login]}
12-
[_ {:keys [display-name password image-path color]}]
13-
{:effects.profile/create-and-login
14-
(assoc (profile.config/create)
15-
:displayName display-name
16-
:password (native-module/sha3 (security/safe-unmask-data password))
17-
:imagePath (profile.config/strip-file-prefix image-path)
18-
:customizationColor color
19-
:emoji (emoji-picker.utils/random-emoji))})
11+
{:events [:profile.create/create-and-login]}
12+
[_ {:keys [display-name password image-path color]}]
13+
{:effects.profile/create-and-login
14+
(assoc (profile.config/create)
15+
:displayName display-name
16+
:password (native-module/sha3 (security/safe-unmask-data password))
17+
:imagePath (profile.config/strip-file-prefix image-path)
18+
:customizationColor color
19+
:emoji (emoji-picker.utils/random-emoji))})

src/status_im2/contexts/profile/recover/events.cljs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
[utils.security.core :as security]))
99

1010
(rf/defn recover-profile-and-login
11-
{:events [:profile.recover/recover-and-login]}
12-
[{:keys [db]} {:keys [display-name password image-path color seed-phrase]}]
13-
{:db
14-
(assoc db :onboarding/recovered-account? true)
11+
{:events [:profile.recover/recover-and-login]}
12+
[{:keys [db]} {:keys [display-name password image-path color seed-phrase]}]
13+
{:db
14+
(assoc db :onboarding/recovered-account? true)
1515

16-
:effects.profile/restore-and-login
17-
(merge (profile.config/create)
18-
{:displayName display-name
19-
:mnemonic (security/safe-unmask-data seed-phrase)
20-
:password (native-module/sha3 (security/safe-unmask-data password))
21-
:imagePath (profile.config/strip-file-prefix image-path)
22-
:customizationColor color
23-
:emoji (emoji-picker.utils/random-emoji)})})
16+
:effects.profile/restore-and-login
17+
(merge (profile.config/create)
18+
{:displayName display-name
19+
:mnemonic (security/safe-unmask-data seed-phrase)
20+
:password (native-module/sha3 (security/safe-unmask-data password))
21+
:imagePath (profile.config/strip-file-prefix image-path)
22+
:customizationColor color
23+
:emoji (emoji-picker.utils/random-emoji)})})

src/status_im2/contexts/wallet/account/view.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
(cond-> [{:id :assets :label (i18n/label :t/assets) :accessibility-label :assets-tab}
2929
{:id :collectibles :label (i18n/label :t/collectibles) :accessibility-label :collectibles-tab}
3030
{:id :activity :label (i18n/label :t/activity) :accessibility-label :activity-tab}]
31-
(not watch-only?) (conj {:id :dapps :label (i18n/label :t/dapps) :accessibility-label :dapps})
32-
true (conj {:id :about :label (i18n/label :t/about) :accessibility-label :about})))
31+
(not watch-only?) (conj {:id :dapps :label (i18n/label :t/dapps) :accessibility-label :dapps})
32+
true (conj {:id :about :label (i18n/label :t/about) :accessibility-label :about})))
3333

3434
(defn view
3535
[]

0 commit comments

Comments
 (0)