"gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle:
/workspace/layer5/src/collections/service-mesh-books/istio-up-and-running/index.mdx: Unexpected token (5:13)
3 | import Button from "../../../reusecore/Button";
4 | import BookComponent from "../../../sections/Community/Handbook/BookComponent";
5 | <BookWrapper>
| ^
SyntaxError: /workspace/layer5/src/collections/service-mesh-books/istio-up-and-running/index.mdx: Unexpected token (5:13)
3 | import Button from "../../../reusecore/Button";
4 | import BookComponent from "../../../sections/Community/Handbook/BookCompon ent";
5 | <BookWrapper>
Importing a jsx component is showing an error by gatsby-plugin-mdx
I have just added import BookComponent from "../../../sections/Community/Handbook/BookComponent";
in the mdx file
I was trying to render the books into 3d, present on specific pages such as Istio: Up and Running page