From e4ba96ea767f13a015a1af9434364049fec4e2ab Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 15:30:42 +0800 Subject: [PATCH] fix: default network chart period to 1d instead of 30d (#61) * Initial plan * fix: change network chart default period from 30d to 1d Co-authored-by: hamster1963 <71394853+hamster1963@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: hamster1963 <71394853+hamster1963@users.noreply.github.com> --- src/components/NetworkChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/NetworkChart.tsx b/src/components/NetworkChart.tsx index a6afa5e..e38e870 100644 --- a/src/components/NetworkChart.tsx +++ b/src/components/NetworkChart.tsx @@ -126,7 +126,7 @@ export function NetworkChart({ show: boolean; }) { const { t } = useTranslation(); - const [period, setPeriod] = React.useState("30d"); + const [period, setPeriod] = React.useState("1d"); const { data: userData, isError: isLoginError } = useQuery({ queryKey: ["login-user"], queryFn: () => fetchLoginUser(),