hippospace / aptos-wallet-adapter

Other
92 stars 95 forks source link

Importing @manahippo/aptos-wallet-adapter causes React Query not to work: TypeError: Failed to construct 'URL': Invalid URL #109

Open jacobhoekert opened 1 year ago

jacobhoekert commented 1 year ago

I'm trying to use the Aptos Wallet Adapter on a Next.js project that uses React Query and whenever the @manahippo/aptos-wallet-adapter package is imported on any file, it causes all of the React Query queries to fail with this error message: TypeError: Failed to construct 'URL': Invalid URL. I can't find any issues with this error on React Queries github, and it only happens literally when the @manahippo/aptos-wallet-adapter package is imported (even if nothing is used from it)