Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend: Ticking checkbox with no local storage in init crashes frontend #27

Open
jodiDL opened this issue Jul 24, 2019 · 0 comments
Open

Comments

@jodiDL
Copy link
Collaborator

jodiDL commented Jul 24, 2019

  1. Clear local storage
  2. Go to quiz and skip all the pages until you see the Garden Watering checkbox.
  3. Tick this box
  4. The page crashes because no local storage item called "basicData" is found

To fix this we need check if the basicData is found, if not it needs to be initialised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant