Skip to content

Commit

Permalink
[Fix] 토너먼트 전체조회 엔드포인트 수정 #1088
Browse files Browse the repository at this point in the history
  • Loading branch information
Clearsu committed Nov 17, 2023
1 parent d9ae3bb commit 54f22c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/tournament-record/WinnerSwiper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function WinnerSwiper(props: WinnerSwiperProps) {
async (page: number) => {
console.log('Fetching more data...');
const res = await mockInstance.get(
`/tournaments?page=${page}&type=${props.type}&size=5`
`/tournament?page=${page}&type=${props.type}&size=5`
);
return res.data;
},
Expand Down Expand Up @@ -75,6 +75,7 @@ export default function WinnerSwiper(props: WinnerSwiperProps) {
fill={true}
style={{ objectFit: 'cover' }}
alt={tournament.winnerIntraId}
priority={true}
/>
</div>
</SwiperSlide>
Expand Down

0 comments on commit 54f22c0

Please sign in to comment.