Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object

I have a Remix app and everything was working fine until now. I am getting this error in the fly logs:

Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object

This error comes out after a refresh a page.

It’s perfectly fine in my local computer but not in fly.io

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.