import { useState } from "react"; import Icon from "../../components/common/Icon"; import { UserManagementPage } from "../../components/admin/UserManagementPage"; import { ProjectManagementPage } from "../../components/admin/ProjectManagementPage"; export function SystemAdminPage({ onNotify, onConnectionChange, }: { onNotify: (notice: { tone: "success" | "error" | "info"; message: string }) => void; onConnectionChange: (online: boolean) => void; }) { const [activeTab, setActiveTab] = useState<"users" | "projects">("users"); return (
{activeTab === "users" && ( )} {activeTab === "projects" && ( )}
); }