I\'m trying to pass my state value to another page and store it to my localStorage. The state has been stored and it works the first time I run my application. However, my l