stupid keys
This commit is contained in:
parent
1953b1706f
commit
bb63d6b671
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const PostGrid = ({ posts, style }: { posts: any; style?: CSSProperties }) => {
|
||||||
<>
|
<>
|
||||||
<div className={styles.grid} style={style}>
|
<div className={styles.grid} style={style}>
|
||||||
{posts.map((post, index) => {
|
{posts.map((post, index) => {
|
||||||
return <Post {...post} />;
|
return <Post key={index} {...post} />;
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Add table
Reference in a new issue