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.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): rollback React Scan dynamic import (#30294)
yyh446df6b50d3d
diff --git a/web/app/layout.tsx b/web/app/layout.tsxindex 90bd6050a63..3a62ba39a02 100644--- a/web/app/layout.tsx+++ b/web/app/layout.tsx@@ -1,8 +1,6 @@import type { Viewport } from 'next'import { ThemeProvider } from 'next-themes'-import dynamic from 'next/dynamic'import { Instrument_Serif } from 'next/font/google'-import { IS_DEV } from '@/config'import GlobalPublicStoreProvider from '@/context/global-public-context'import { TanstackQueryInitializer } from '@/context/query-client'import { getLocaleOnServer } from '@/i18n-config/server'@@ -10,15 +8,12 @@ import { DatasetAttr } from '@/types/feature'import { cn } from '@/utils/classnames'import BrowserInitializer from './components/browser-initializer'import I18nServer from './components/i18n-server'+import { ReactScan } from './components/react-scan'import SentryInitializer from './components/sentry-initializer'import RoutePrefixHandle from './routePrefixHandle'import './styles/globals.css'import './styles/markdown.scss'-const ReactScan = IS_DEV- ? dynamic(() => import('./components/react-scan').then(m => m.ReactScan), { ssr: false })- : () => null-export const viewport: Viewport = {width: 'device-width',initialScale: 1,