From 9eecaa42940345e29ece63582c7bc7e46c6ac0e2 Mon Sep 17 00:00:00 2001 From: callmeyan Date: Wed, 5 Feb 2025 11:48:32 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E8=B0=83=E6=95=B4=E6=A0=87=E9=A2=98?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/contexts/auth/index.tsx | 2 +- src/pages/news/edit.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/contexts/auth/index.tsx b/src/contexts/auth/index.tsx index ef0dc1d..f7fcbd5 100644 --- a/src/contexts/auth/index.tsx +++ b/src/contexts/auth/index.tsx @@ -1,7 +1,7 @@ import React, {createContext, useEffect, useReducer} from "react"; import Loader from "@/components/loader"; -import {clearAuth, getAuthToken, setAuthToken} from "@/hooks/useAuth.ts"; +import {getAuthToken, setAuthToken} from "@/hooks/useAuth.ts"; import {auth} from "@/service/api/user.ts"; import {getAllCategory} from "@/service/api/article.ts"; import {BizError} from "@/service/types.ts"; diff --git a/src/pages/news/edit.tsx b/src/pages/news/edit.tsx index 086b42a..f565728 100644 --- a/src/pages/news/edit.tsx +++ b/src/pages/news/edit.tsx @@ -118,7 +118,7 @@ export default function NewEdit() { const checked = selectedRowKeys.includes(item.id) return
setEditId(item.id)}> -
+
{item.title}
{item.summary}