Weather Icons and Alert Fixes #3
3 changed files with 6 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ export const metadata = {
|
|||
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ export default function WeatherPage() {
|
|||
src={weatherIcon}
|
||||
width={175}
|
||||
height={175}
|
||||
unoptimized
|
||||
loading="eager"
|
||||
/>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -10,8 +10,12 @@ export function getWeatherIcon(icon) {
|
|||
return `partlycloudynight`;
|
||||
case "partly-cloudy-day":
|
||||
return `partlycloudyday`;
|
||||
case "mostly-cloudy-day":
|
||||
return `mostlycloudyday`;
|
||||
case "breezy":
|
||||
return `windy`;
|
||||
case "cloudy":
|
||||
return `cloudy`;
|
||||
case "drizzle":
|
||||
return `drizzle`;
|
||||
case "light-rain":
|
||||
|
|
|
|||
Loading…
Reference in a new issue