perf(react): remove lazy imports again
This commit is contained in:
parent
d88c554a2d
commit
e0c2331af3
8 changed files with 82 additions and 121 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { Suspense, useEffect, useRef } from "react";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { Outlet, useNavigate } from "@tanstack/react-router";
|
||||
|
||||
import RouteLoader from "@/components/routeLoader";
|
||||
import AppLayout from "./layout";
|
||||
import CallInit from "@/components/callRuntimeInit";
|
||||
import CacheSync from "@tensamin/cache/sync";
|
||||
|
|
@ -61,9 +60,7 @@ export default function AppShell() {
|
|||
<AppLayout>
|
||||
<ChatContext>
|
||||
<NotificationsProvider>
|
||||
<Suspense fallback={<RouteLoader />}>
|
||||
<Outlet />
|
||||
</Suspense>
|
||||
<Outlet />
|
||||
</NotificationsProvider>
|
||||
</ChatContext>
|
||||
</AppLayout>
|
||||
|
|
|
|||
Loading…
Reference in a new issue