Skip to content

Commit 38f7a5c

Browse files
authoredNov 6, 2023
Fix reset of playground render errors
Closes GH-2392. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent efff74e commit 38f7a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/_asset/editor.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function Playground() {
210210
})
211211

212212
return (
213-
<ErrorBoundary FallbackComponent={ErrorFallback}>
213+
<ErrorBoundary FallbackComponent={ErrorFallback} resetKeys={[value]}>
214214
<div className="playground-result">{mod.default({})}</div>
215215
</ErrorBoundary>
216216
)

1 commit comments

Comments
 (1)

vercel[bot] commented on Nov 6, 2023

@vercel[bot]

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.