Skip to content

Commit

Permalink
Update MDX example to address failure (withastro#3799)
Browse files Browse the repository at this point in the history
* fix: do not use symbol in JSX runtime

* chore: update MDX example

Co-authored-by: Nate Moore <[email protected]>
  • Loading branch information
natemoo-re and natemoo-re authored Jul 1, 2022
1 parent 79058ee commit 1c8fa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jsx-runtime/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Fragment, markHTMLString } from '../runtime/server/index.js';

const AstroJSX = Symbol('@astrojs/jsx');
const AstroJSX = 'astro:jsx';
const Empty = Symbol('empty');

interface AstroVNode {
Expand Down

0 comments on commit 1c8fa2a

Please sign in to comment.