rename render fx

This commit is contained in:
madarsbiss 2021-09-21 17:04:14 +03:00
parent edd8da59f3
commit 3cd05da02b
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import "../styles/globals.css";
function WeatherApp({ Component, pageProps }) {
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />;
}
export default WeatherApp;
export default MyApp;

View File

@ -59,6 +59,7 @@ const App = () => {
<p className={styles.weatherDescription}>
{weatherData.weather[0].description}
</p>
<Image
alt="weatherIcon"
src={`/icons/${weatherData.weather[0].icon}.svg`}