Skip to content

Commit e9ed53b

Browse files
committed
Reload preview on change
1 parent 84ab765 commit e9ed53b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/src/preview.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function InnerPreview({ code }) {
4747
// console.log(error);
4848
return (
4949
<>
50-
{Content ? Content({ components: { CH } }) : null}
50+
{Content ? <Content components={{ CH }} /> : null}
5151
{error ? <div className="preview-error">{error}</div> : null}
5252
</>
5353
);

0 commit comments

Comments
 (0)