From 66668d85d603c5841d755a6023aa1925559fc6d4 Mon Sep 17 00:00:00 2001
From: 苏向夜 <fu050409@163.com>
Date: Wed, 25 Feb 2026 01:32:51 +0800
Subject: chore(workspace): replace legacy codes

---
 packages/ui-new/src/main.tsx | 38 --------------------------------------
 1 file changed, 38 deletions(-)
 delete mode 100644 packages/ui-new/src/main.tsx

(limited to 'packages/ui-new/src/main.tsx')

diff --git a/packages/ui-new/src/main.tsx b/packages/ui-new/src/main.tsx
deleted file mode 100644
index a3157bd..0000000
--- a/packages/ui-new/src/main.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import { StrictMode } from "react";
-import { createRoot } from "react-dom/client";
-import "./index.css";
-import { createHashRouter, RouterProvider } from "react-router";
-import { Toaster } from "./components/ui/sonner";
-import { HomeView } from "./pages/home-view";
-import { IndexPage } from "./pages/index";
-import { InstancesView } from "./pages/instances-view";
-import { SettingsPage } from "./pages/settings";
-
-const router = createHashRouter([
-  {
-    path: "/",
-    element: <IndexPage />,
-    children: [
-      {
-        index: true,
-        element: <HomeView />,
-      },
-      {
-        path: "instances",
-        element: <InstancesView />,
-      },
-      {
-        path: "settings",
-        element: <SettingsPage />,
-      },
-    ],
-  },
-]);
-
-const root = createRoot(document.getElementById("root") as HTMLElement);
-root.render(
-  <StrictMode>
-    <RouterProvider router={router} />
-    <Toaster />
-  </StrictMode>,
-);
-- 
cgit v1.2.3-70-g09d2

