Skip to content

Commit

Permalink
add key for FullPublication
Browse files Browse the repository at this point in the history
  • Loading branch information
foolo committed Aug 30, 2023
1 parent bebda71 commit d3fdab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/Publication/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const ViewPublication: NextPage = () => {
/>
<GridItemEight className="space-y-5">
<Card>
<FullPublication publication={publication} />
<FullPublication publication={publication} key={publication?.id} />
</Card>
{currentProfile && !publication?.hidden && !showNewPostModal ? (
canComment ? (
Expand Down

0 comments on commit d3fdab5

Please sign in to comment.