adjusted weather title
This commit is contained in:
parent
659a7951ca
commit
8fb0801303
1 changed files with 2 additions and 1 deletions
|
|
@ -107,9 +107,10 @@ function WeatherWidget({ data, sx }) {
|
||||||
})) : [];
|
})) : [];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<GenericWidget title={`Weather - ${location}`} sx={{ minWidth: '50%', ...sx }}>
|
<GenericWidget title={`Weather`} sx={{ minWidth: '50%', ...sx }}>
|
||||||
{/* Current Weather Section */}
|
{/* Current Weather Section */}
|
||||||
<Box sx={{ mb: 3 }}>
|
<Box sx={{ mb: 3 }}>
|
||||||
|
<h4>{location}</h4>
|
||||||
<Box sx={{ display: 'flex', alignItems: 'center', mb: 2 }}>
|
<Box sx={{ display: 'flex', alignItems: 'center', mb: 2 }}>
|
||||||
<Box sx={{ mr: 3 }}>
|
<Box sx={{ mr: 3 }}>
|
||||||
{getWeatherIcon(current?.icon)}
|
{getWeatherIcon(current?.icon)}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue