Skip to content

Commit

Permalink
[Chore] 컴포넌트 경로 변경 #1203
Browse files Browse the repository at this point in the history
  • Loading branch information
Clearsu committed Dec 22, 2023
1 parent d30758c commit 9cdede9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/tournament-record.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { useState, useRef, useEffect } from 'react';
import { SwiperRef } from 'swiper/react';
import { TournamentInfo } from 'types/tournamentTypes';
import UserTournamentBracket from 'components/tournament/UserTournamentBracket';
import LeagueButtonGroup from 'components/tournament-record/LeagueButtonGroup';
import UserTournamentBracket from 'components/tournament-record/UserTournamentBracket';
import WinnerSwiper from 'components/tournament-record/WinnerSwiper';
import WinnerTournamentInfo from 'components/tournament-record/WinnerTournamentInfo';
import styles from 'styles/tournament-record/TournamentRecord.module.scss';
Expand All @@ -15,7 +15,7 @@ export default function TournamentRecord() {

useEffect(() => {
if (swiperRef.current?.swiper) {
swiperRef.current?.swiper.slideTo(0, 0); // index, speed
swiperRef.current?.swiper.slideTo(0, 0); // 이동할 슬라이드 인덱스, 이동 속도
}
}, [selectedType]);

Expand Down

0 comments on commit 9cdede9

Please sign in to comment.