Fix Multiple Alerts

This commit is contained in:
SDCore 2026-07-14 23:43:12 -05:00
parent 217a21b092
commit 3287ea1711

View file

@ -115,13 +115,13 @@ export default function WeatherPage() {
Hyperlocal Weather Hyperlocal Weather
</span> </span>
{weatherAlerts.length > 0 && ( {weatherAlerts.length > 0 &&
<span className={styles.weatherAlerts}> weatherAlerts.map((alert, index) => (
{weatherAlerts.map((alert, index) => (
<span <span
key={index} key={index}
className={styles.weatherAlert} className={styles.weatherAlerts}
> >
<span className={styles.weatherAlert}>
{alert.title} {alert.title}
<span <span
className={ className={
@ -134,9 +134,8 @@ export default function WeatherPage() {
).toLocaleString()} ).toLocaleString()}
</span> </span>
</span> </span>
))}
</span> </span>
)} ))}
<span className={styles.weatherTop}> <span className={styles.weatherTop}>
<span className={styles.weatherTopLeft}> <span className={styles.weatherTopLeft}>