This disables writing to localStorage when the theme is changed by a localStorage event. This should be fine, as the value in localStorage should already have that value. As a result we avoid a situation where we have localStorage being written again and again which I suspect is causing the event handler to repeatedly fire.
Description
This disables writing to localStorage when the theme is changed by a localStorage event. This should be fine, as the value in localStorage should already have that value. As a result we avoid a situation where we have localStorage being written again and again which I suspect is causing the event handler to repeatedly fire.
Related Issues
Closes https://gitlab.com/teamliquid-dev/liquipedia/web/issue-bucket/-/issues/25
Checklist