From 83c0657296dc5a9ab39f619056bad5533762205f Mon Sep 17 00:00:00 2001 From: zv Date: Sat, 13 Jun 2026 21:21:52 +0200 Subject: [PATCH] fix: default wind unit to kmh --- lib/weather-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weather-utils.ts b/lib/weather-utils.ts index 14f5693..0ff6a8d 100644 --- a/lib/weather-utils.ts +++ b/lib/weather-utils.ts @@ -16,7 +16,7 @@ import type { TemperatureUnit, WindSpeedUnit } from "@/types/units"; const locales: Record = { pl: "pl-PL", en: "en-GB" }; export const DEFAULT_TEMPERATURE_UNIT: TemperatureUnit = "c"; export const TEMPERATURE_UNITS: TemperatureUnit[] = ["c", "f"]; -export const DEFAULT_WIND_SPEED_UNIT: WindSpeedUnit = "ms"; +export const DEFAULT_WIND_SPEED_UNIT: WindSpeedUnit = "kmh"; export const WIND_SPEED_UNITS: WindSpeedUnit[] = ["ms", "kmh", "mph"]; const temperatureUnitLabels: Record = {