mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-07 00:16:58 +08:00
feat: maskpage&newchatpage adapt new ui framework done
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user