Skip to content

Commit

Permalink
chore: add key attribute to img
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelliu committed Jan 28, 2023
1 parent 9512082 commit 76f5606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function Page() {
<Input label="title" id="title" />
</div>
<div>
<img src={imageLink} className="w-full bg-gray-500" width="800" height="400" />
<img key={imageLink} src={imageLink} className="w-full bg-gray-500" width="800" height="400" />
<div className="mt-10 flex gap-2">
<Button className="w-2/3">Generate</Button>
<ButtonLink href={link} className="w-1/3">New Tab</ButtonLink>
Expand Down

1 comment on commit 76f5606

@vercel
Copy link

@vercel vercel bot commented on 76f5606 Jan 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

my-og-image – ./

og.lovelliu.me
my-og-image-git-main-lovelliu.vercel.app
my-og-image-lovelliu.vercel.app

Please sign in to comment.