Skip to content

Commit

Permalink
[#19048] fix: address reviewers feedbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Mar 8, 2024
1 parent c70d42c commit aaa4a93
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/status_im/contexts/profile/contact/share/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
abbreviated-url (rn/use-memo (fn []
(address/get-abbreviated-profile-url universal-profile-url))
[universal-profile-url])
profile-picture (rn/use-memo #(profile.utils/photo profile) [profile])
display-name (rn/use-memo #(profile.utils/displayed-name profile) [profile])
on-back-press #(rf/dispatch [:navigate-back])
on-share-press (rn/use-callback #(list-selection/open-share {:message universal-profile-url})
[universal-profile-url])
Expand Down Expand Up @@ -49,6 +47,6 @@
:on-share-press on-share-press
:on-text-press on-copy-press
:on-text-long-press on-copy-press
:profile-picture profile-picture
:full-name display-name
:profile-picture (profile.utils/photo profile)
:full-name (profile.utils/displayed-name profile)
:customization-color (or customization-color :blue)}]]]]))

0 comments on commit aaa4a93

Please sign in to comment.