mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 13:29:35 +02:00
Small changes to CSS. README.md with screenshots
This commit is contained in:
parent
1636b705de
commit
22920f2660
16 changed files with 70 additions and 40 deletions
|
@ -89,7 +89,7 @@ const WeatherSettings = (props: ComponentProps): JSX.Element => {
|
|||
.catch(err => console.log(err));
|
||||
|
||||
// set localStorage
|
||||
localStorage.setItem('isCelsius', JSON.stringify(formData.isCelsius === 1))
|
||||
localStorage.setItem('isCelsius', JSON.stringify(parseInt(`${formData.isCelsius}`) === 1))
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue