Skip to content

Commit

Permalink
chore: 캐러셀 이동 속도 기존 시간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hwinkr committed Oct 25, 2024
1 parent 85cb3b4 commit 3a977b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/ComponentCarousel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface CarouselProps {
interval?: number;
}

export default function ComponentCarousel({ slides, interval = 2000 }: CarouselProps) {
export default function ComponentCarousel({ slides, interval = 3000 }: CarouselProps) {
const extendedSlides = [...slides.slice(-2), ...slides, ...slides.slice(0, 2)];

const [currentIndex, setCurrentIndex] = useState(2);
Expand Down

0 comments on commit 3a977b2

Please sign in to comment.