Improve the Stability parameter control panel

This commit is contained in:
licoy
2024-07-02 10:24:19 +08:00
parent 34034be0e3
commit bbbf59c74a
11 changed files with 299 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ const ChatList = dynamic(async () => (await import("./chat-list")).ChatList, {
loading: () => null,
});
const SdList = dynamic(async () => (await import("./sd-list")).SdList, {
const SdPanel = dynamic(async () => (await import("./sd-panel")).SdPanel, {
loading: () => null,
});
@@ -155,7 +155,7 @@ export function SideBar(props: { className?: string }) {
let isChat: boolean = false;
switch (location.pathname) {
case Path.Sd:
bodyComponent = <SdList />;
bodyComponent = <SdPanel />;
break;
default:
isChat = true;