mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
Remove Spinner and don't lazy-load components
This commit is contained in:
3 files changed
+3
-18
No files matched your search
+2
-4
@@ -1,10 +1,8 @@
|
||||
import { lazy } from "react";
|
||||
import { BrowserRouter, Route, Routes } from "react-router-dom";
|
||||
import { ScrollToTop } from "./components/ScrollToTop";
|
||||
|
||||
// Lazy load page components
|
||||
const Index = lazy(() => import("./pages/Index"));
|
||||
const NotFound = lazy(() => import("./pages/NotFound"));
|
||||
import Index from "./pages/Index";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
export function AppRouter() {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user