import I18nServer from './components/i18n-server' import BrowerInitor from './components/browser-initor' import SentryInitor from './components/sentry-initor' import { getLocaleOnServer } from '@/i18n/server' import './styles/globals.css' import './styles/markdown.scss' export const metadata = { title: 'Dify', } const LocaleLayout = ({ children, }: { children: React.ReactNode }) => { const locale = getLocaleOnServer() return ( {/* @ts-expect-error Async Server Component */} {children} ) } export default LocaleLayout