Type error on Vercel prod

Can someone hint me to why this typr occurs when I try to deploy on Vercel.

It works fine on local dev env.
Screenshot_from_2023-02-16_22-06-07.png
Screenshot_from_2023-02-16_22-07-23.png
Was this page helpful?