I have two different layouts, one for Personal Accounts and one for Team Accounts
So in general terms I have a a ContextProvider with 'use client' that fetches some data,
I pass either userId or accountId to it from the layout.tsx , either for personal accounts and team accounts.
Then the idea is that the personal accounts or team accounts reuse some components across different pages , those components get some data from the useContext, that returns associated data with that account Id. But I am getting this error constantly.
Maybe would be better if I pass just the accountId from each page, and use a useQuery fn to fetch the data, in each component ?