fix: frontend build errors and dependency issues

This commit is contained in:
sagit
2026-02-08 10:45:18 +00:00
parent 9ab5140258
commit fef4c28777
4 changed files with 13 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
---
active: true
iteration: 1
max_iterations: 100
completion_promise: "DONE"
started_at: "2026-02-08T09:11:17.275Z"
session_id: "ses_3c3ac2d4bffe6K5IO2BeAEWe7g"
---
检查代码,确保功能逻辑正常,确保能编译通过,通过后提交全部变更并push
BIN
View File
Binary file not shown.
+2 -1
View File
@@ -39,8 +39,10 @@
"@heroui/switch": "^2.2.21",
"@heroui/system": "2.4.19",
"@heroui/table": "^2.2.24",
"@heroui/tabs": "^2.2.27",
"@heroui/theme": "2.4.19",
"@heroui/use-theme": "2.1.10",
"@marsidev/react-turnstile": "^1.1.0",
"@nextui-org/system": "^2.4.6",
"@react-aria/visually-hidden": "3.8.25",
"@react-types/shared": "3.30.0",
@@ -56,7 +58,6 @@
"react-hot-toast": "^2.5.2",
"react-is": "^19.2.4",
"react-router-dom": "6.30.3",
"@marsidev/react-turnstile": "^1.1.0",
"recharts": "^3.1.1",
"sonner": "^2.0.6",
"tailwind-variants": "1.0.0",
+2 -2
View File
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from "react";
import { useState, useEffect } from "react";
import { Button } from "@heroui/button";
import { Card, CardBody, CardHeader } from "@heroui/card";
import { Tabs, Tab } from "@heroui/tabs";
@@ -250,7 +250,7 @@ export default function PanelSharingPage() {
onChange={(e) => setShareForm({ ...shareForm, nodeId: e.target.value })}
>
{nodes.map((node) => (
<SelectItem key={node.id} value={node.id.toString()}>
<SelectItem key={node.id} textValue={node.name}>
{node.name}
</SelectItem>
))}