init
This commit is contained in:
@@ -34,9 +34,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 />,
|
||||
@@ -135,7 +135,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>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user