We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I connected to phantom wallet.
And then I try to get wallet by below code
const wallet = useWallet();
but wallet.publicKey is null.
I am not sure if this is a bug or I use this in a wrong way.
The text was updated successfully, but these errors were encountered:
This is almost always because you don't have the React context set up properly: https://github.com/solana-labs/wallet-adapter/blob/master/FAQ.md#-is-not-a-function---is-undefined--uncaught-typeerror-cannot-destructure-property--uncaught-in-promise-walletnotconnectederror
Please follow the setup code here: https://github.com/solana-labs/wallet-adapter#setup
Sorry, something went wrong.
Thank you. @jordansexton . Let me try.
No branches or pull requests
I connected to phantom wallet.
And then I try to get wallet by below code
const wallet = useWallet();
but wallet.publicKey is null.
I am not sure if this is a bug or I use this in a wrong way.
The text was updated successfully, but these errors were encountered: