Error fixes

This commit is contained in:
Sean Edmunds
2025-01-17 12:21:33 -06:00
parent 0ca9110379
commit eef30a84e3
7 changed files with 31 additions and 9 deletions

View File

@@ -5,7 +5,12 @@ export default function SmallWeatherCard({ weather }: any) {
return (
<Center display={'flex'}>
<Box pos={'relative'} style={{ zIndex: -1 }}>
<Image w={'134px'} h={'134px'} radius={'lg'} src={weather.icon} />
<Image
w={'134px'}
h={'134px'}
radius={'lg'}
src={weather.icon === '' ? undefined : weather.icon}
/>
<Overlay
color='black'
gradient='linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0.35))'