When clearing the localStorage and then going through the guide, the riskFactors page crashes because it attempts to display the default/current preferences. However, as a new user, the localStorage contains null until you open up the map.
Ideally, the default values should be extracted from the Rust side of things and put into JS together with a lot of other "magic values". That way, the localStorage can be initialised with the default values from the get-go.
When clearing the localStorage and then going through the guide, the riskFactors page crashes because it attempts to display the default/current preferences. However, as a new user, the localStorage contains
null
until you open up the map.Ideally, the default values should be extracted from the Rust side of things and put into JS together with a lot of other "magic values". That way, the localStorage can be initialised with the default values from the get-go.