Tutorial: Posts are getting error Element type is invalid: expected a string (for built-in components) or a class/function

Finished the Tutorial but getting error on the Posts:

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports.

Did I miss an export somewhere?

hi! I tried your code and seems to be working. Did you manage to solve the issue? This normally happens with you try to import a class from a javascript file but the file has a different name or doesn’t have an export. Let us know if you still have the issue :slight_smile: