Currently, when clicking 'Reset Score,' a player resets their historic data and their streak. Streak and historic data should be decoupled so that players can clear one or the other. This will require updates not only to how this information is stored in localStorage, but also to the hasLocalStorage utility itself.
Currently, when clicking 'Reset Score,' a player resets their historic data and their streak. Streak and historic data should be decoupled so that players can clear one or the other. This will require updates not only to how this information is stored in localStorage, but also to the
hasLocalStorage
utility itself.