rainbow-me / rainbowkit

The best way to connect a wallet 🌈 🧰
https://rainbowkit.com
MIT License
2.36k stars 617 forks source link

fix: navigator object is empty #2039

Closed 0xAskar closed 3 weeks ago

0xAskar commented 3 weeks ago

Navigator object is empty in some cases and as a result throws an error in getBrowser preventing the user from using the app in dev mode. This checks if is an empty object and then returns Browser.browser, simple fix. reference to https://github.com/rainbow-me/rainbowkit/issues/2036#issuecomment-2156252957

vercel[bot] commented 3 weeks ago

@0xAskar is attempting to deploy a commit to the rainbowdotme Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rainbowkit-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 7:06am
rainbowkit-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 12, 2024 7:06am