mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-10 22:43:11 +08:00
Reworked OtherSettings to work with global config state. Fixed bug with certain settings not being synchronized
This commit is contained in:
@@ -68,7 +68,7 @@ const WeatherWidget = (props: ComponentProps): JSX.Element => {
|
||||
|
||||
return (
|
||||
<div className={classes.WeatherWidget}>
|
||||
{isLoading || props.configLoading || searchConfig('WEATHER_API_KEY', '') &&
|
||||
{(isLoading || props.configLoading || searchConfig('WEATHER_API_KEY', '')) &&
|
||||
(weather.id > 0 &&
|
||||
(<Fragment>
|
||||
<div className={classes.WeatherIcon}>
|
||||
|
||||
Reference in New Issue
Block a user