diff --git a/apps/web/src/app/App.tsx b/apps/web/src/app/App.tsx index e9986007..84f788c4 100644 --- a/apps/web/src/app/App.tsx +++ b/apps/web/src/app/App.tsx @@ -2,6 +2,7 @@ import { lazy, Suspense, useEffect } from "react"; import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { Navigate, Route, Routes, useNavigate } from "react-router"; import { api } from "@/lib/api"; +import { EVERNOTE_MIGRATION_PATH } from "@/lib/routes"; import type { AuthSession } from "@edgeever/shared"; const EvernoteImportGuidePane = lazy(() => @@ -111,7 +112,7 @@ const AuthenticatedWorkspace = () => { export const App = () => ( - } /> + } /> } /> } /> } /> diff --git a/apps/web/src/components/SettingsPane.tsx b/apps/web/src/components/SettingsPane.tsx index 8993b880..9618e0d5 100644 --- a/apps/web/src/components/SettingsPane.tsx +++ b/apps/web/src/components/SettingsPane.tsx @@ -9,6 +9,7 @@ import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from import { Input } from "@/components/ui/input"; import { Switch } from "@/components/ui/switch"; import { api } from "@/lib/api"; +import { EVERNOTE_MIGRATION_PATH } from "@/lib/routes"; import { cn, formatDateTime } from "@/lib/utils"; import { AppConfirmDialog } from "./dialogs/ConfirmDialogs"; @@ -135,7 +136,16 @@ const EvernoteImportGuideCard = () => ( 导入印象笔记