diff --git a/components/pages/Home.jsx b/components/pages/Home.jsx index f72ed92..ca7a626 100644 --- a/components/pages/Home.jsx +++ b/components/pages/Home.jsx @@ -21,8 +21,8 @@ const PostCard = ({ title, type, text, author, image }) => ( const Home = ({ selected }) => { return ( - {homeItems.map(i => ( - + {homeItems.map((i, index) => ( + ))} ); diff --git a/components/ui/Button.jsx b/components/ui/Button.jsx index e538362..207b33a 100644 --- a/components/ui/Button.jsx +++ b/components/ui/Button.jsx @@ -3,7 +3,7 @@ import classNames from 'classnames'; const Button = ({ children, className, ...props }) => (