From 73dba8b1dbb9f982b763839534a8041437d8b4b8 Mon Sep 17 00:00:00 2001 From: ichirinko <1621543655@qq.com> Date: Sat, 27 Apr 2024 13:18:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E8=AE=B0=E5=BD=95=E6=BB=91=E5=8A=A8=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=B8=8E=E9=A2=91=E7=B9=81=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E9=97=AE=E9=A2=98=20(#58)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.rrricardo.top/PostGuard/Canon/pulls/58 Co-authored-by: ichirinko <1621543655@qq.com> Co-committed-by: ichirinko <1621543655@qq.com> --- Canon.Server/client-app/src/Pages/HistoryPage.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Canon.Server/client-app/src/Pages/HistoryPage.tsx b/Canon.Server/client-app/src/Pages/HistoryPage.tsx index 0c40a37..4dcd713 100644 --- a/Canon.Server/client-app/src/Pages/HistoryPage.tsx +++ b/Canon.Server/client-app/src/Pages/HistoryPage.tsx @@ -44,7 +44,7 @@ export function HistoryPage({state, setState}) { } getResponse(); - }, [data]) + }, [state]) const toggleDrawerClose = () => { setState(false); @@ -87,7 +87,7 @@ export function HistoryPage({state, setState}) { { data.map((item, index) => { return + sx={{width: "100%", height: "auto",overflow: "visible"}}> { navigate(`/${item.id}`) }}>