From ecaa1c410e3fc70869811c6cc0e9ae3347faa83e Mon Sep 17 00:00:00 2001 From: madarsbiss Date: Sat, 17 Jul 2021 00:44:55 +0300 Subject: [PATCH] add desc --- pages/index.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pages/index.js b/pages/index.js index 177dd98..5577a4a 100644 --- a/pages/index.js +++ b/pages/index.js @@ -24,9 +24,10 @@ export default function Home() { {weatherData && ( <> +

{weatherData.weather[0].description}

weatherIcon @@ -43,10 +44,3 @@ export default function Home() { ); } - -// export const getServerSideProps = async () => { -// const res = async fetch() -// console.log(process.env.OPENWEATHER_API_KEY); - -// return { props: {} }; -// };