Skip to content

Commit

Permalink
Update SearchResultCard.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
zntb committed Mar 4, 2024
1 parent 1ac8374 commit b6622fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SearchResultCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SearchResultCard = ({ restaurant }: Props) => {
<div id="card-content" className="grid md:grid-cols-2 gap-2">
<div className="flex flex-row flex-wrap">
{restaurant.cuisines.map((item, index) => (
<span className="flex">
<span key={index} className="flex">
<span>{item}</span>
{index < restaurant.cuisines.length - 1 && <Dot />}
</span>
Expand Down

0 comments on commit b6622fc

Please sign in to comment.