stupid keys

This commit is contained in:
Joshua 2022-08-10 00:36:57 +02:00
parent 1953b1706f
commit bb63d6b671

View file

@ -8,7 +8,7 @@ const PostGrid = ({ posts, style }: { posts: any; style?: CSSProperties }) => {
<>
<div className={styles.grid} style={style}>
{posts.map((post, index) => {
return <Post {...post} />;
return <Post key={index} {...post} />;
})}
</div>
</>