From f83239c40d40eea5c1dc68dd0ae15f900cab3e1d Mon Sep 17 00:00:00 2001
From: Bluecue <54121059+Bluecue@users.noreply.github.com>
Date: Thu, 15 Jan 2026 13:41:49 -0600
Subject: [PATCH] Update Simple.tsx
There was open space between the time and high and low temperature display on the simple.tsx display option for the weather app so I added a wind speed and direction.
---
weather/src/components/Simple.tsx | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/weather/src/components/Simple.tsx b/weather/src/components/Simple.tsx
index e37fa84..d482642 100644
--- a/weather/src/components/Simple.tsx
+++ b/weather/src/components/Simple.tsx
@@ -12,6 +12,12 @@ interface WeatherProps {
const Simple = ({ weatherData, tempType }: WeatherProps) => {
const [time, setTime] = useState
{time}
- {/* --- UPDATED WIND READOUT WITH SAFETY CHECKS --- */} -{weatherData.current && ( -- {Math.round(weatherData.current.windSpeed10m || 0)} {weatherData.speedUnit || ''} {getWindDirection(weatherData.current.windDirection10m || 0)} -
-)} ++ {Math.round(weatherData.current.windSpeed10m)} {weatherData.speedUnit} {getWindDirection(weatherData.current.windDirection10m)} +
Last Updated{" "} {new Date(weatherData.current.time)