-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: 코드 포매터 적용 * conf: ci 고치는 중 * conf: ci 파일 수정: repo checkout 이후 .properties 생성 * conf: ci 수정, echo 명령어 따옴표 수정 * conf: ci 수정 * conf: ci 수정 * conf: ci 수정 * conf: ci 수정 * conf: ci 수정, 테스트를 위해 더미 데이터로 변경 * conf: ci 수정
- Loading branch information
1 parent
293e8ac
commit 0ae0230
Showing
2 changed files
with
20 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
'use client' | ||
'use client'; | ||
|
||
import { useEffect } from 'react' | ||
import LandingPage from './_components/landing/LandingPage' | ||
import { useEffect } from 'react'; | ||
import LandingPage from './_components/landing/LandingPage'; | ||
|
||
import { useRouter } from 'next/navigation' | ||
import { useRouter } from 'next/navigation'; | ||
|
||
export default function Home() { | ||
const router = useRouter() | ||
const router = useRouter(); | ||
// 세션 확인 후 로그인으로 보낼지 메인페이지로 보낼지. | ||
useEffect(() => { | ||
const timer = setTimeout(() => { | ||
router.push('/login') | ||
}, 1500) | ||
return () => clearTimeout(timer) | ||
}, []) | ||
return <LandingPage /> | ||
router.push('/login'); | ||
}, 1500); | ||
return () => clearTimeout(timer); | ||
}, []); | ||
return <LandingPage />; | ||
} |