diff --git a/components/weather/location-search.tsx b/components/weather/location-search.tsx
index 238cf2b..6ce9888 100644
--- a/components/weather/location-search.tsx
+++ b/components/weather/location-search.tsx
@@ -31,20 +31,47 @@ export function LocationSearch({ stations, positions }: { stations: SynopStation
{t("location.label")}
-
+
+
+ {showSuggestions && (
+
+ {isPreparingStations ?
{t("location.preparing")}
:
+ isError ?
{t("location.error")}
:
+ !isFetching && !suggestions.length ?
{t("location.empty")}
:
+ suggestions.map(({ location, nearest }) => nearest && (
+
+ ))}
+
+ )}
+
{selectedLocation && (
@@ -55,31 +82,6 @@ export function LocationSearch({ stations, positions }: { stations: SynopStation
{t("location.attribution")} Open-Meteo / GeoNames
- {showSuggestions && (
-
- {isPreparingStations ?
{t("location.preparing")}
:
- isError ?
{t("location.error")}
:
- !isFetching && !suggestions.length ?
{t("location.empty")}
:
- suggestions.map(({ location, nearest }) => nearest && (
-
- ))}
-
- )}
);
}