Fix Multiple Alerts
This commit is contained in:
parent
217a21b092
commit
3287ea1711
1 changed files with 9 additions and 10 deletions
|
|
@ -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.weatherAlerts}
|
||||||
className={styles.weatherAlert}
|
>
|
||||||
>
|
<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}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue