Open ipnq opened 6 months ago
The content of package.json after npm update
.
ClientOnlyPropertyError: account is only available on the client
is probably thrown by getAccount
or watchAccount
in useAccount
.
I'm facing the same problem: ClientOnlyPropertyError: account is only available on the client
. This seems to occur from page.tsx
.
It's not clear to me why this is happening yet.
I'm new to nextjs and might be misunderstanding, but both page.tsx
and useAccount.ts are tagged with use client
so page.tsx
shouldn't be getting pre-rendered on the server.
this should be fixed now in the latest versions of the SDK. are y'all still running into that?
Withdraw to Trust Wallet
Clone the repo,
npm install
, and thennpm run build
. Works.After that,
npm update
, and thennpm run build
. Fails.