rename render fx
This commit is contained in:
parent
edd8da59f3
commit
3cd05da02b
@ -1,7 +1,7 @@
|
|||||||
import "../styles/globals.css";
|
import "../styles/globals.css";
|
||||||
|
|
||||||
function WeatherApp({ Component, pageProps }) {
|
function MyApp({ Component, pageProps }) {
|
||||||
return <Component {...pageProps} />;
|
return <Component {...pageProps} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
export default WeatherApp;
|
export default MyApp;
|
||||||
|
@ -59,6 +59,7 @@ const App = () => {
|
|||||||
<p className={styles.weatherDescription}>
|
<p className={styles.weatherDescription}>
|
||||||
{weatherData.weather[0].description}
|
{weatherData.weather[0].description}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
alt="weatherIcon"
|
alt="weatherIcon"
|
||||||
src={`/icons/${weatherData.weather[0].icon}.svg`}
|
src={`/icons/${weatherData.weather[0].icon}.svg`}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user