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 Button is not working. #10

Open
1066JMay96 opened this issue Mar 4, 2023 · 1 comment
Open

Connect Button is not working. #10

1066JMay96 opened this issue Mar 4, 2023 · 1 comment

Comments

@1066JMay96
Copy link

18 | use_async(async move { ethereum.connect().await })
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait yew::Hook is not implemented for impl yew::functional::hooks::Hook<Output = UseAsyncHandle<(), std::string::String>> + '_
|
= help: the trait yew::Hook is implemented for BoxedHook<'_, T>

For more information about this error, try rustc --explain E0277.
error: could not compile yew-ethereum-provider due to previous error
2023-03-04T15:48:47.292634Z ERROR ❌ error
error from HTML pipeline

@monomadic
Copy link
Owner

Thanks, I was using the nightly/next version of yew a long time ago, it's unsurprising compatibility has drifted. I didn't realise people were even using this, so I'll take a look into it.

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

2 participants