fix: fixed profile picture and bio in profile box
All checks were successful
Release to Staging / build_and_release (push) Successful in 45s

This commit is contained in:
daniyal 2024-09-03 14:37:54 +05:00
parent 8fea6fa27f
commit c44a28f755

View File

@ -82,8 +82,9 @@ export const ProfileSection = ({ pubkey }: Props) => {
<div
className='IBMSMSMSSS_Author_Top_PP'
style={{
background:
"url('assets/img/DEG%20Mods%20Default%20PP.png') center / cover no-repeat"
background: `url('${
profile.image || ''
}') center / cover no-repeat`
}}
></div>
</div>
@ -132,7 +133,9 @@ export const ProfileSection = ({ pubkey }: Props) => {
</div>
</div>
<div className='IBMSMSMSSS_Author_Top_Details'>
<p className='IBMSMSMSSS_Author_Top_Bio'>{profile.bio}</p>
<p className='IBMSMSMSSS_Author_Top_Bio'>
{profile.bio || profile.about}
</p>
<div
id='OwnerFollowLogin'
className='IBMSMSMSSS_Author_Top_NostrLinks'