From d7be705d20df1b2b53f797f86b556bce911c5c33 Mon Sep 17 00:00:00 2001 From: qiuchenfan <2035024011@qq.com> Date: Fri, 14 Nov 2025 19:18:12 +0800 Subject: [PATCH] 25 --- 1114/app/routes/weather.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1114/app/routes/weather.tsx b/1114/app/routes/weather.tsx index 1c2c8c6..22b5a52 100644 --- a/1114/app/routes/weather.tsx +++ b/1114/app/routes/weather.tsx @@ -15,7 +15,7 @@ export function meta() { } export default function Weather() { - const { currentWeather, isLoading, error, setError } = useWeatherStore() + const { currentWeather, isLoading, error, setError } = useWeatherStore() useEffect(() => { if (error) { @@ -24,7 +24,7 @@ export default function Weather() { setError("") } }, [error, setError]) - }, [error, setError]) + return (