Skip to content

Commit

Permalink
fix: added key
Browse files Browse the repository at this point in the history
  • Loading branch information
1nayu committed May 22, 2024
1 parent dceb3ab commit 2c1e55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(authenticated)/images/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function TagsPage() {
>
<Stack spacing={1}>
{images?.map((image) => (
<Button variant={"contained"} fullWidth href={`/images/${image.id}`}>
<Button variant={"contained"} fullWidth href={`/images/${image.id}`} key={image.id}>
<Stack direction={"row"} spacing={2} alignItems={"center"} sx={{width:"100%"}}>
<Avatar src={`${process.env.NEXT_PUBLIC_API_URL}/images/${image.id}/file`}/>
<Typography>
Expand Down

0 comments on commit 2c1e55c

Please sign in to comment.