diff --git a/app/components/home.tsx b/app/components/home.tsx
index 66f86348..9e57cb87 100644
--- a/app/components/home.tsx
+++ b/app/components/home.tsx
@@ -19,7 +19,6 @@ import CloseIcon from "../icons/close.svg";
import { useChatStore } from "../store";
import { isMobileScreen } from "../utils";
import Locale from "../locales";
-import { ChatList } from "./chat-list";
import { Chat } from "./chat";
import dynamic from "next/dynamic";
@@ -39,6 +38,10 @@ const Settings = dynamic(async () => (await import("./settings")).Settings, {
loading: () => ,
});
+const ChatList = dynamic(async () => (await import("./chat-list")).ChatList, {
+ loading: () => ,
+});
+
function useSwitchTheme() {
const config = useChatStore((state) => state.config);