Using feature flag

This commit is contained in:
Linus Flood
2024-09-19 13:28:51 +02:00
parent 730f66d79a
commit 69359da126
12 changed files with 56 additions and 53 deletions

View File

@@ -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 />
}

View File

@@ -0,0 +1,5 @@
"use client"
export default function Error() {
return null
}