mirror of
https://github.com/koreanbots/core.git
synced 2025-12-15 14:10:22 +00:00
fix: router called at non-client
This commit is contained in:
parent
3f579fec4a
commit
c25d60eeef
@ -1,9 +1,12 @@
|
||||
import { NextPage } from 'next'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useEffect } from 'react'
|
||||
|
||||
const Docs: NextPage = () => {
|
||||
const router = useRouter()
|
||||
router.push('/developers/docs/시작하기')
|
||||
useEffect(() => {
|
||||
router.push('/developers/docs/시작하기')
|
||||
})
|
||||
return <></>
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user