feat: add i18n checker (ui) (#17283)

This commit is contained in:
Kindy Lin
2025-04-02 13:58:31 +08:00
committed by GitHub
parent 8c77f2dc03
commit 95c6bd1c8a
4 changed files with 224 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
import type React from 'react'
import { notFound } from 'next/navigation'
export default async function Layout({ children }: React.PropsWithChildren) {
if (process.env.NODE_ENV !== 'development')
notFound()
return children
}