Skip to content
New issue

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

connect didn't work #20

Open
lianshus opened this issue Sep 17, 2024 · 0 comments
Open

connect didn't work #20

lianshus opened this issue Sep 17, 2024 · 0 comments

Comments

@lianshus
Copy link

I try to use next14 to do my project,but when i use
const { connected, connect, disconnect } = useConnection(); async function ConnectWallet() { try { await connect(); console.log("Connected to wallet."); } catch (error) { console.error("Failed to connect to wallet:", error); } }
everytime i try to use function ConnectWallet
it always error:
image
what can i do to fix this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant