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: {} }; -// };