fix and update
This commit is contained in:
@@ -235,7 +235,17 @@ export default function DataPage() {
|
||||
<IdShell active="/data">
|
||||
<div className="mb-8 flex items-center gap-4 rounded-[24px] border border-[#20212b] p-4">
|
||||
{user ? (
|
||||
<AvatarUpload userId={user.id} displayName={user.displayName} hasAvatar={user.hasAvatar} token={token} onUpdated={refreshProfile} />
|
||||
<AvatarUpload
|
||||
userId={user.id}
|
||||
displayName={user.displayName}
|
||||
hasAvatar={user.hasAvatar}
|
||||
token={token}
|
||||
isVerified={user.isVerified}
|
||||
verificationIcon={user.verificationIcon}
|
||||
className="h-14 w-14"
|
||||
badgeSize="sm"
|
||||
onUpdated={refreshProfile}
|
||||
/>
|
||||
) : (
|
||||
<AvatarDisplay userId="" displayName="" hasAvatar={false} token={null} className="h-14 w-14" />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user