Using feature flag
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import Header from "@/components/Current/Header"
|
||||
import { setLang } from "@/i18n/serverContext"
|
||||
|
||||
import { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default async function HeaderPage({ params }: PageArgs<LangParams>) {
|
||||
setLang(params.lang)
|
||||
|
||||
return <Header />
|
||||
}
|
||||
5
app/[lang]/(live-current)/@header/error.tsx
Normal file
5
app/[lang]/(live-current)/@header/error.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
"use client"
|
||||
|
||||
export default function Error() {
|
||||
return null
|
||||
}
|
||||
Reference in New Issue
Block a user