[#17507] fix: image placeholder issue in create-profile (#17645)

This commit is contained in:
Mohsen 2023-10-17 17:28:00 +03:00 committed by GitHub
parent 428d79607e
commit fc284f466f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -172,11 +172,7 @@
{:content (fn [] {:content (fn []
[method-menu/view on-change-profile-pic]) [method-menu/view on-change-profile-pic])
:shell? true}])) :shell? true}]))
:image-picker-props {:profile-picture (or :image-picker-props {:profile-picture @profile-pic
@profile-pic
(rf/sub
[:profile/onboarding-placeholder-avatar
@profile-pic]))
:full-name (if (seq @full-name) :full-name (if (seq @full-name)
@full-name @full-name
(i18n/label :t/your-name)) (i18n/label :t/your-name))