This commit is contained in:
parent
817f57bc33
commit
d7be705d20
|
|
@ -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 (
|
||||
<div className="flex flex-col items-center justify-center h-screen">
|
||||
|
|
|
|||
Loading…
Reference in New Issue