feat: maskpage&newchatpage adapt new ui framework done

This commit is contained in:
butterfly
2024-04-19 11:55:51 +08:00
parent b3559f99a2
commit 3d0a98d5d2
40 changed files with 2273 additions and 774 deletions

View File

@@ -17,9 +17,10 @@ import { useLoadData } from "@/app/hooks/useLoadData";
import Loading from "@/app/components/Loading";
import Screen from "@/app/components/Screen";
import { SideBar } from "./Sidebar";
import GlobalLoading from "@/app/components/GlobalLoading";
const Settings = dynamic(
async () => (await import("@/app/components/settings")).Settings,
async () => await import("@/app/containers/Settings"),
{
loading: () => <Loading noLogo />,
},
@@ -94,7 +95,7 @@ export default function Home() {
}, []);
if (!useHasHydrated()) {
return <Loading />;
return <GlobalLoading />;
}
return (