Skip to content

Commit

Permalink
feat: 불필요한 조건연산자 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Bumang-Cyber committed Jan 24, 2024
1 parent 22cd063 commit cf1e3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/homePage/itemCarousel/ItemCarousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ItemCarousel = ({
{localeAndHotel.map(
(item) =>
item[2].length && (
<ItemCarouselUnit key={item[2][0]?.id} item={item} />
<ItemCarouselUnit key={item[2][0].id} item={item} />
),
)}
</S.SliderContainer>
Expand Down

0 comments on commit cf1e3f1

Please sign in to comment.