From 4a712fc46220cdf5537b490ac8d7b7e90f940fa1 Mon Sep 17 00:00:00 2001 From: ichirinko <1621543655@qq.com> Date: Thu, 9 May 2024 14:44:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E4=BA=86=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E6=97=A0=E6=B3=95=E9=80=9A=E8=BF=87=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=88=87=E6=8D=A2=E9=A1=B5=E9=9D=A2=E7=9A=84?= =?UTF-8?q?bug=20(#76)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-on: https://git.rrricardo.top/PostGuard/Canon/pulls/76 Co-authored-by: ichirinko <1621543655@qq.com> Co-committed-by: ichirinko <1621543655@qq.com> --- Canon.Server/client-app/src/Pages/Index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Canon.Server/client-app/src/Pages/Index.tsx b/Canon.Server/client-app/src/Pages/Index.tsx index a01b6e2..e7bfd52 100644 --- a/Canon.Server/client-app/src/Pages/Index.tsx +++ b/Canon.Server/client-app/src/Pages/Index.tsx @@ -56,7 +56,7 @@ export function Index() { } } getCompileInstance(); - }, []); + }, [location.pathname]); const handleValueChange = (value: string) => {