* added null check for weather key
* Update index.ts
removed an unneeded import
* Update index.ts
removed more junk.
I need to be better about cleaning up my code before commiting it 😅
* Update index.ts
okay last one
* removed visibility change, adjusted null check to still display default values
* Formatting
---------
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>