Skip to content

Commit

Permalink
Fix reset of playground render errors
Browse files Browse the repository at this point in the history
Closes GH-2392.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
ManasMakde committed Nov 6, 2023
1 parent efff74e commit 38f7a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_asset/editor.jsx
Expand Up @@ -210,7 +210,7 @@ function Playground() {
})

return (
<ErrorBoundary FallbackComponent={ErrorFallback}>
<ErrorBoundary FallbackComponent={ErrorFallback} resetKeys={[value]}>
<div className="playground-result">{mod.default({})}</div>
</ErrorBoundary>
)
Expand Down

1 comment on commit 38f7a5c

@vercel
Copy link

@vercel vercel bot commented on 38f7a5c Nov 6, 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
mdx-mdx.vercel.app
mdxjs.com
v2.mdxjs.com

Please sign in to comment.