mirror of
https://github.com/dyzulk/trustlab-docs.git
synced 2026-01-26 13:32:08 +07:00
chore: setup manual localization branch with sidebar fix
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
import { LandingPage } from '../components/LandingPage'
|
||||
import { useEffect } from 'react'
|
||||
import { useRouter } from 'next/router'
|
||||
|
||||
<LandingPage />
|
||||
export default function Root() {
|
||||
const router = useRouter()
|
||||
useEffect(() => {
|
||||
router.replace('/en')
|
||||
}, [router])
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user