Skip to content

Commit

Permalink
Fix playground AST views w/ clone
Browse files Browse the repository at this point in the history
Closes GH-2315.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
Jokcy committed Jun 26, 2023
1 parent 7504cfb commit dbe9f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_component/editor.client.js
Expand Up @@ -37,7 +37,7 @@ function useMdx(defaults) {
const file = new VFile({basename, value: config.value})

const capture = (name) => () => (tree) => {
file.data[name] = tree
file.data[name] = structuredClone(tree)
}

const remarkPlugins = []
Expand Down

1 comment on commit dbe9f44

@vercel
Copy link

@vercel vercel bot commented on dbe9f44 Jun 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mdx – ./

mdx-git-main-mdx.vercel.app
v2.mdxjs.com
mdx-mdx.vercel.app
mdxjs.com

Please sign in to comment.