Refactor settings management and add mutation error handling
All checks were successful
Deploy to production / build (push) Successful in 18s
All checks were successful
Deploy to production / build (push) Successful in 18s
This commit is contained in:
@@ -19,7 +19,7 @@ export function WeatherModal({
|
||||
handleResetSearch: () => void;
|
||||
closeWeatherModal: () => void;
|
||||
}) {
|
||||
const { isMobile, currentUser } = useCommonHooks();
|
||||
const { isMobile, settings } = useCommonHooks();
|
||||
const [selectedDay, setSelectedDay] = useState<any>(undefined);
|
||||
const [selectedHourly, setSelectedHourly] = useState<any>(undefined);
|
||||
|
||||
@@ -79,7 +79,7 @@ export function WeatherModal({
|
||||
Weather Forecast for{' '}
|
||||
</Text>
|
||||
<Text fz={'1.125rem'} fw={600}>
|
||||
{currentUser.physicalAddress}
|
||||
{settings.physicalAddress}
|
||||
</Text>
|
||||
</Group>
|
||||
</Modal.Title>
|
||||
|
||||
Reference in New Issue
Block a user