refactor: move ROUTES from @/lib/routes to @/router/routes

This commit is contained in:
2026-06-10 10:53:43 +08:00
parent a4b902893e
commit 2cba315214
15 changed files with 45 additions and 12 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
import { useRouter } from "next/navigation";
import { useState } from "react";
import { ROUTES } from "@/lib/routes";
import { ROUTES } from "@/router/routes";
import { ChatMenuBar } from "./chat-menu-bar";
import styles from "./chat-header.module.css";
+1 -1
View File
@@ -18,7 +18,7 @@
import { useRouter } from "next/navigation";
import { useEffect, useRef } from "react";
import { ROUTES } from "@/lib/routes";
import { ROUTES } from "@/router/routes";
import { SpAsyncUtil } from "@/utils/storage";
import { useAuthDispatch } from "@/stores/auth/auth-context";
import { useUserDispatch } from "@/stores/user/user-context";
+1 -1
View File
@@ -10,7 +10,7 @@
*/
import { useRouter } from "next/navigation";
import { ROUTES } from "@/lib/routes";
import { ROUTES } from "@/router/routes";
import styles from "./quota-dialog.module.css";