Skip to content

Commit

Permalink
Add chance of rain
Browse files Browse the repository at this point in the history
  • Loading branch information
timmo001 committed Sep 9, 2024
1 parent 968269f commit 36100da
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/_components/forecast-now.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ export function ForecastNow() {
</span>
<span className="font-small text-base font-normal">°C</span>
</div>
<div className="flex flex-row items-center gap-1">
<span className="font-semibold">Chance of Rain:</span>
<span className="font-normal">
{forecastNow.data.precipitationProbability.toFixed(0)}
</span>
<span className="font-small text-base font-normal">%</span>
</div>
<div className="flex flex-row items-center gap-1">
<span className="font-semibold">Humidity:</span>
<span className="font-normal">
Expand Down

0 comments on commit 36100da

Please sign in to comment.