fix: default wind unit to kmh
This commit is contained in:
@@ -16,7 +16,7 @@ import type { TemperatureUnit, WindSpeedUnit } from "@/types/units";
|
|||||||
const locales: Record<Language, string> = { pl: "pl-PL", en: "en-GB" };
|
const locales: Record<Language, string> = { pl: "pl-PL", en: "en-GB" };
|
||||||
export const DEFAULT_TEMPERATURE_UNIT: TemperatureUnit = "c";
|
export const DEFAULT_TEMPERATURE_UNIT: TemperatureUnit = "c";
|
||||||
export const TEMPERATURE_UNITS: TemperatureUnit[] = ["c", "f"];
|
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"];
|
export const WIND_SPEED_UNITS: WindSpeedUnit[] = ["ms", "kmh", "mph"];
|
||||||
|
|
||||||
const temperatureUnitLabels: Record<TemperatureUnit, string> = {
|
const temperatureUnitLabels: Record<TemperatureUnit, string> = {
|
||||||
|
|||||||
Reference in New Issue
Block a user