mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: remove lazy import component (#724)
This commit is contained in:
@ -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([
|
||||
{
|
||||
|
Reference in New Issue
Block a user