Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
[react-threads] Remove alt prop in Image
Browse files Browse the repository at this point in the history
  • Loading branch information
junhoyeo committed Jul 9, 2023
1 parent 44aa405 commit 99185a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-threads/src/components/Thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const Thread: React.FC<ThreadProps> = ({ thread }) => {
{!!user && (
<Image
className="w-full h-full"
alt={user.username}
alt=""
src={user.profile_pic_url}
width={1200}
height={1200}
Expand Down Expand Up @@ -191,7 +191,7 @@ export const Thread: React.FC<ThreadProps> = ({ thread }) => {
{!!nestedPost.user && (
<Image
className="w-[18px] h-[18px] mr-2 rounded-full"
alt={nestedPost.user.username}
alt=""
src={nestedPost.user.profile_pic_url}
width={1200}
height={1200}
Expand Down

0 comments on commit 99185a3

Please sign in to comment.