diff --git a/apps/web/src/pages/home/index.tsx b/apps/web/src/pages/home/index.tsx index a413f36c..392cc280 100644 --- a/apps/web/src/pages/home/index.tsx +++ b/apps/web/src/pages/home/index.tsx @@ -289,6 +289,7 @@ const InternalHome = observer(() => { activeCity$.coord.lon.get(), ]; + // Prevent a weather forecast for the preset active city from being displayed useLayoutEffect(() => { if (activeCity$.id.get() === 0 && activeCity$.name.get() === "") { void router.push("/search");