From 764bbe5468c385ad781f29e9e1fa413558cf8b7f Mon Sep 17 00:00:00 2001
From: 3452078359-xuexue <3452078359@qq.com>
Date: Wed, 26 Aug 2026 01:23:38 -0700
Subject: [PATCH] refactor: simplify sidebar graph context
---
admin-web/src/App.tsx | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/admin-web/src/App.tsx b/admin-web/src/App.tsx
index 4359086..03279da 100644
--- a/admin-web/src/App.tsx
+++ b/admin-web/src/App.tsx
@@ -9,7 +9,7 @@ import {
import AdminLogin from "./AdminLogin";
import AdminLoginV2 from "./AdminLoginV2";
import Brand from "./Brand";
-import { displayProjectName, getProjectContext, whoami, type KgProjectContext } from "./api";
+import { getProjectContext, whoami, type KgProjectContext } from "./api";
import ProjectContextBar from "./ProjectContextBar";
import ProjectLanding from "./ProjectLanding";
import DataCenterPanel from "./panels/data-platform/DataCenterPanel";
@@ -27,14 +27,6 @@ import UserManagement from "./panels/system/UserManagement";
import InterfaceCenterPanel from "./panels/system/InterfaceCenterPanel";
const { Sider, Content } = Layout;
-const RUNTIME_CONTEXT = {
- tenant: "CityGraph-new2",
- project: "CityGraph-new2",
- dbSchema: "kg_admin_new2",
- graph: "guiyang_new2",
- port: "8102",
-};
-
const MENU_ITEMS = [
{ key: "/projects", icon: