Skip to content

Commit 7c1ce5e

Browse files
committed
홈 자동스크롤 시간 수정
1 parent 6e5b3c9 commit 7c1ce5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/home/home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const Home = () => {
3838
useEffect(() => {
3939
const interval = setInterval(() => {
4040
goToNextPage();
41-
}, 7000); // 7초마다
41+
}, 4000); // 7초마다
4242

4343
return () => clearInterval(interval); // 컴포넌트 언마운트 시 정리
4444
}, [currentPage]); // currentPage가 바뀔 때마다 타이머 초기화 (선택 사항)

0 commit comments

Comments
 (0)