ephemeraHQ / xmtp-inbox-web

XMTP Inbox web chat app
https://dev.xmtp.chat
MIT License
33 stars 40 forks source link

Bug: every other page refresh lands me back on the "enable identity" page #180

Closed snormore closed 1 year ago

snormore commented 1 year ago

Describe the bug

When I visit https://xmtp.chat, or a local version of it running, and after I connect my wallet, every other refresh (every 2nd refresh) lands me back on the "enable identity" page. If I refresh again, it shows me the conversation list and conversation view, but if I then refresh again, I'm back on the "enable identity" page. It seems to be pretty consistent.

Expected behavior

After my wallet is connected, every refresh should land me on the conversations list/view page.

Steps to reproduce the bug

eleanorhofstedt commented 1 year ago

Thanks for reporting @snormore ! I'm experiencing the same issue actually. Sent over to @daria-github for review.

daria-github commented 1 year ago

@snormore confirmed this was resolved with the new useInitXmtpClient hook changes, closing.