[BUG] Logged out after reloading the empty messages page
- Login using nos2x
- Go to the orders page
- Click on the reload button
The account will get logged out and the state is lost.
This might have caused the broken state that led to #153
From testing on my end, it's not that the user is completely signed out, the profile just takes some time to load. If you wait for long enough, does the profile icon not appear in the top right?
@calvadev I get completely logged out. The page gets stuck on the spinner and the profile icon never shows up, it goes back to Sign in
I noticed that the local storage no longer has some keys after reloading.
Before hitting the reload button:
{"tokens":"[]","readRelays":"[]","wot":"3","relays":"[\\"wss://eden.nostr.land\\",\\"wss://nos.lol\\",\\"wss://nostr.wine\\",\\"wss://premium.primal.net\\",\\"wss://relay.damus.io\\",\\"wss://relay.primal.net\\"]","signer":"{\\"type\\":\\"nip07\\"}","history":"[]","blossomServers":"[\\"https://cdn.nostrcheck.me\\"]","mints":"[\\"https://mint.minibits.cash/Bitcoin\\"]","cart":"[]","writeRelays":"[]"}
After hitting the reload button:
{"blossomServers":"[\\"https://cdn.nostrcheck.me\\"]","tokens":"[]","mints":"[\\"https://mint.minibits.cash/Bitcoin\\"]","cart":"[]","relays":"[\\"wss://relay.damus.io\\",\\"wss://nos.lol\\",\\"wss://purplepag.es\\",\\"wss://relay.primal.net\\",\\"wss://relay.nostr.band\\"]","history":"[]"}
Ok, haven't run into this yet. What browser and sign in method do you use?
@calvadev tried both Chrome and Brave on macOS, using the latest nos2x extension to log in.