apibara / starknet-react

A collection of React providers and hooks for StarkNet
https://starknet-react.com
MIT License
364 stars 141 forks source link

Handle Absent Injected Wallet #463

Closed Realkayzee closed 2 months ago

Realkayzee commented 2 months ago

Handle Absent Injected Wallet

In a situation where users don't have any injected wallet installed, developers are meant to receive a response, so as to handle what to display to users. Doing this will help increase user experience

fracek commented 2 months ago

This is already possible by getting the connectors list (from the useConnect hook, docs is currently wrong) and checking they're available.