Skip to content

Commit

Permalink
fix: fix the temp value on weather app from kelvin to C
Browse files Browse the repository at this point in the history
  • Loading branch information
No0ne003 committed May 31, 2024
1 parent b55f78b commit 0beb3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Weather-app/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const WeatherApp = () => {

<div className="flex flex-col items-center">
<div className="text-4xl font-semibold">
{weatherData?.main?.temp}
{(weatherData?.main?.temp - 273).toFixed(2)} °C
</div>
<p className="justify-start items-center text-xs text-foreground/80 hidden xm:flex">
<span>
Expand Down

0 comments on commit 0beb3d6

Please sign in to comment.