v1.5: Add login module and GPT selection feature

This commit is contained in:
2023-07-12 18:04:12 +08:00
parent 329b9c7c95
commit 49fffe8cbe
17 changed files with 375 additions and 31 deletions
+4 -4
View File
@@ -35,9 +35,9 @@ export function Loading(props: { noLogo?: boolean }) {
);
}
// const Settings = dynamic(async () => (await import("./settings")).Settings, {
// loading: () => <Loading noLogo />,
// });
const Settings = dynamic(async () => (await import("./settings")).Settings, {
loading: () => <Loading noLogo />,
});
const Chat = dynamic(async () => (await import("./chat")).Chat, {
loading: () => <Loading noLogo />,
@@ -141,7 +141,7 @@ function Screen() {
<Route path={Path.NewChat} element={<NewChat />} />
<Route path={Path.Masks} element={<MaskPage />} />
<Route path={Path.Chat} element={<Chat />} />
{/* <Route path={Path.Settings} element={<Settings />} /> */}
<Route path={Path.Settings} element={<Settings />} />
</Routes>
</div>
</>