From 8433d4e8864e301a6fd26232acd355a0ae5b0837 Mon Sep 17 00:00:00 2001 From: Ananya Singh Date: Wed, 20 Nov 2024 18:02:26 +0530 Subject: [PATCH] Delete current-weather.js --- current-weather.js | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 current-weather.js diff --git a/current-weather.js b/current-weather.js deleted file mode 100644 index dbf255c..0000000 --- a/current-weather.js +++ /dev/null @@ -1,46 +0,0 @@ -import "./current-weather.css"; -import React from "react"; - -export const CurrentWeather = ({ data }) => { - return ( -
-
-
-

{data.city}

-

{data.weather[0].description}

-
- weather -
-
-

{Math.round(data.main.temp)}°C

-
-
- Details -
-
- Feels like - - {Math.round(data.main.feels_like)}°C - -
-
- Wind - {data.wind.speed} m/s -
-
- Humidity - {data.main.humidity}% -
-
- Pressure - {data.main.pressure} hPa -
-
-
-
- ); -};