From 40c602219499f133cbc789d4b2487147c72723bd Mon Sep 17 00:00:00 2001 From: "Y." Date: Mon, 24 Aug 2026 10:59:43 +0800 Subject: [PATCH] chore: remove the ai-search entry points --- site/web/App.jsx | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/site/web/App.jsx b/site/web/App.jsx index c29e9f5ef..1be55fadd 100644 --- a/site/web/App.jsx +++ b/site/web/App.jsx @@ -4,13 +4,6 @@ import { BrowserRouter, Navigate, Outlet, Route, Routes, useLocation, useNavigat import packageJson from '@/package.json'; import siteConfig from './site.config'; import { filterVersions, getRoute } from './utils'; -import { - htmlContent, - mainJsContent, - styleContent, - packageJSONContent, - tsconfigContent, -} from './components/codeSandbox/content'; const LazyDemo = lazy(() => import('./Demo')); @@ -55,26 +48,6 @@ function Components() { const [version] = useState(currentVersion); - const demoRequestBody = JSON.stringify({ - files: { - 'package.json': { - content: packageJSONContent, - }, - 'public/index.html': { - content: htmlContent, - }, - 'src/main.tsx': { - content: mainJsContent, - }, - 'src/index.css': { - content: styleContent, - }, - 'tsconfig.json': { - content: tsconfigContent, - }, - }, - }); - function initHistoryVersions() { fetch(registryUrl) .then((res) => res.json()) @@ -132,7 +105,6 @@ function Components() {
-