mirror of
https://github.com/dyzulk/trustlab-docs.git
synced 2026-01-26 05:25:38 +07:00
fix(i18n): internalize locale logic in LandingPage to resolve content mismatch
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
import { useRouter } from 'next/router'
|
||||
import { LandingPage } from '../components/LandingPage'
|
||||
|
||||
export const Index = () => {
|
||||
const { locale } = useRouter()
|
||||
return <LandingPage locale={locale} />
|
||||
}
|
||||
|
||||
<Index />
|
||||
|
||||
# DEBUG_ID_FILE_RENDERED
|
||||
Reference in New Issue
Block a user