Skip to content

Commit

Permalink
Cleanup rev.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mansisindhu committed Dec 22, 2021
1 parent 52a67f2 commit 7482074
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ const CarouselMain = () => {
<div className={styles.bars}>
{carouselData.map((el, i) => {
return (
<div className={styles.bar} key={i}>
<img src={el?.thumbnail} alt="" />
<p>{el?.title}</p>
</div>
<Link key={i} to={`/games/${el?._id}`}>
<div className={styles.bar}>
<img src={el?.thumbnail} alt="" />
<p>{el?.title}</p>
</div>
</Link>
);
})}
</div>
Expand Down

0 comments on commit 7482074

Please sign in to comment.