Skip to content

Commit 793570c

Browse files
authored
Merge pull request #2 from No0ne003/fixing-weather-app
fix: fix the temp value on weather app from kelvin to C
2 parents b55f78b + 0beb3d6 commit 793570c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Weather-app/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const WeatherApp = () => {
7272

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

0 commit comments

Comments
 (0)