Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

refactor(web): remove redundant root locale fallback (#42791)

yyh792d1546088b
diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index dcb55ff789b..810ba720edd 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -68,7 +68,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
if (nonce !== undefined) themeProviderProps.nonce = nonce
return (
- <html lang={locale ?? 'en'} className="h-full" suppressHydrationWarning>
+ <html lang={locale} className="h-full" suppressHydrationWarning>
<head>
<ReactScanLoader />
</head>