monomadic / yew-ethereum-provider

Context provider component for web3/metamask in yew applications
8 stars 2 forks source link

Connect Button is not working. #10

Open 1066JMay96 opened 1 year ago

1066JMay96 commented 1 year ago
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 commented 1 year ago

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.