Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: remove lazy import component (#724)
boojack688dc2304cc5
diff --git a/web/src/router/index.tsx b/web/src/router/index.tsxindex 467fe9548..8a31a2d00 100644--- a/web/src/router/index.tsx+++ b/web/src/router/index.tsx@@ -1,12 +1,10 @@import { createBrowserRouter, redirect } from "react-router-dom";-import { lazy } from "react";import { isNullorUndefined } from "../helpers/utils";import { globalService, userService } from "../services";--const Auth = lazy(() => import("../pages/Auth"));-const Explore = lazy(() => import("../pages/Explore"));-const Home = lazy(() => import("../pages/Home"));-const MemoDetail = lazy(() => import("../pages/MemoDetail"));+import Auth from "../pages/Auth";+import Explore from "../pages/Explore";+import Home from "../pages/Home";+import MemoDetail from "../pages/MemoDetail";const router = createBrowserRouter([{