[Sprint/FunnyFrog](feat): Preferred hashtag remember local storage 1302
Works fine by my testing. Removed this.lastPreferredEmission
so that the system just uses localStorage to determine its value, rather than storing the last state of it when navigating away and back.
0/1 discussion resolved
46 44 } 47 45 48 46 ngOnInit() { 49 this.lastPreferredEmission = this.preferred; 47 this.preferred = localStorage.getItem('preferred_hashtag_state') === 'true'; - Owner
please use storage class vs localStorage