diff --git a/app/page.jsx b/app/page.jsx index a82f25f..c5eb25e 100644 --- a/app/page.jsx +++ b/app/page.jsx @@ -34,6 +34,12 @@ export default function HomePage() { } }, []); + useEffect(() => { + if (haveUserCityZip || permissionGranted) { + setError(null); + } + }, [haveUserCityZip, permissionGranted]); + useInterval(() => { if (coordinates) { fetchConditions();