Skip to content

Commit b584f0c

Browse files
authored
Img alt should have the full name (#1009)
1 parent b92c19a commit b584f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/settings+/profile.index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default function EditUserProfile({ loaderData }: Route.ComponentProps) {
104104
<div className="relative size-52">
105105
<Img
106106
src={getUserImgSrc(loaderData.user.image?.objectKey)}
107-
alt={loaderData.user.username}
107+
alt={loaderData.user.name ?? loaderData.user.username}
108108
className="h-full w-full rounded-full object-cover"
109109
width={832}
110110
height={832}

0 commit comments

Comments
 (0)