I am getting an error when rendering the MDX content using nextjs 13 and react 18.
Error: 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.
I am getting an error when rendering the MDX content using nextjs 13 and react 18.
I think the error is coming from here:
I am not sure why I get this error. Thanks