Icon component

This commit is contained in:
Max Lynch
2020-12-22 17:27:45 -06:00
parent 5e2bd30d72
commit 91ca416c9f
12 changed files with 132 additions and 34 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ const PostCard = ({ title, type, text, author, image }) => (
const Home = ({ selected }) => {
return (
<Content visible={selected}>
{homeItems.map(i => (
<PostCard {...i} />
{homeItems.map((i, index) => (
<PostCard {...i} key={index} />
))}
</Content>
);