App builds fine locally and builds fine on Vercel

But app doesn’t load in browser

After wrapping error boundry around the app, this is the console log error.
message: "returntrue is not defined"

All I really did was update to tailwind 4 and this happened. Even after rolling it back it still happened. Not sure whats happening here. Any help would be appreciated as I’m stuck.

React
Prisimic
Next

Based on the error message, it seems like there’s a missing space somewhere so it’s trying to use returntrue when it should be return true;

thanks. I tried searching for “returntrue” in my code to no avail.

I don’t see the error now. Did you find a solution?