Skip to content

Commit

Permalink
fix: change mainPage image to first element
Browse files Browse the repository at this point in the history
  • Loading branch information
GanghyeonSeo committed Jun 7, 2024
1 parent 1588d20 commit 55463d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ function MainPage() {
);
}

if (lookBookData.list[lookBookData.list.length - 1].imageUrl) {
if (lookBookData.list[0].imageUrl) {
return (
<Image
src={lookBookData.list[lookBookData.list.length - 1].imageUrl}
src={lookBookData.list[0].imageUrl}
alt="Today's Look"
width="100%"
radius="md"
Expand Down

0 comments on commit 55463d4

Please sign in to comment.