Adding tRPC HOC breaks zustand

Aajnart4/20/2023
It seems that adding the trpc hoc breaks my zustand stores initial values and generates bad data.
After installing trpc following an install guide, I realized that now my zustand items don't take their initial values anymore. I am not sure why it is due. Happens both with SSR and non SSR setting.
My error is the following : (please see the image)

I am using yarn to install packages and running latest Nextjs/React.
Aajnart4/20/2023
I know you will say that it is not related but as soon as I don't do api.withTRPC(App) in my _app.tsx it doesn't crash anymore. I am not sure why it happens, please help me investigate it
A/Kalex / KATT4/20/2023
can you make a reproduction?
A/Kalex / KATT4/20/2023
with ssr: false there shouldn't be anything functional changing when you add the HOC
Aajnart4/21/2023
Sure, I’ll try later today
Aajnart4/21/2023
Can it be because I add another HOC for translations ?
Aajnart4/21/2023
I use Nexti18next as HOC for translations