diff --git a/packages/console/app/src/routes/workspace/[id]/index.tsx b/packages/console/app/src/routes/workspace/[id]/index.tsx index a5a8bb46..3716674a 100644 --- a/packages/console/app/src/routes/workspace/[id]/index.tsx +++ b/packages/console/app/src/routes/workspace/[id]/index.tsx @@ -4,8 +4,14 @@ import { UsageSection } from "./usage-section" import { ModelSection } from "./model-section" import { ProviderSection } from "./provider-section" import { IconLogo } from "~/component/icon" +import { createAsync, useParams } from "@solidjs/router" +import { querySessionInfo } from "../common" +import { Show } from "solid-js" export default function () { + const params = useParams() + const userInfo = createAsync(() => querySessionInfo(params.id)) + return (