i got this error in signup -->
Warning: Only plain objects can be passed to Client Components from Server Components. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.
{account: {client: ...}, database: ..., user: ...}
^^^^^^^^^^^^^
POST /sign-up 200 in 30ms
⨯ Error: Only plain objects, and a few built-ins, can be passed to Client Components from Server Components. Classes or null prototypes are not supported.
at stringify (
i thing the issue is with const { account,database } = await createAdminClient();
Are you returning the stringify JSON from createAdminClient()?
Also getting this error, returning return parseStringify(newUserAccount); in user.actions.ts