fix profile avatar not showing

use src parameter when passing photo_url to the JKProfileAvatar
This commit is contained in:
Nuwan 2024-10-23 08:00:50 +05:30
parent 79ba0ebc70
commit c1a2e76186
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ const JKPerson = props => {
<td className="text-nowrap">
<a href="/#" onClick={toggleMoreDetails} className="d-flex align-items-center mb-1 fs-0 person-link">
<div className="avatar avatar-xl">
<JKProfileAvatar url={photo_url} />
<JKProfileAvatar src={photo_url} />
</div>
<div className="ml-2 ms-2">
<strong>{name}</strong>