diff --git a/app/[lang]/(live)/not-found.tsx b/app/[lang]/(live)/not-found.tsx index 93a118353..b709a17c2 100644 --- a/app/[lang]/(live)/not-found.tsx +++ b/app/[lang]/(live)/not-found.tsx @@ -1,10 +1,6 @@ import { getIntl } from "@/i18n" -import { setLang } from "@/i18n/serverContext" -import { LangParams, PageArgs } from "@/types/params" - -export default async function NotFound({ params }: PageArgs) { - setLang(params.lang) +export default async function NotFound() { const { formatMessage } = await getIntl() return (