feat: add i18n checker (ui) (#17283)
This commit is contained in:
parent
8c77f2dc03
commit
95c6bd1c8a
4 changed files with 224 additions and 1 deletions
9
web/app/dev-only/layout.tsx
Normal file
9
web/app/dev-only/layout.tsx
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue