fix: redundant style injections for multiple repls
This commit is contained in:
parent
20e8a30583
commit
48e06bd213
2 changed files with 11 additions and 4 deletions
|
|
@ -54,6 +54,7 @@ export function MicroRepl({ code, hideHeader = false }) {
|
|||
<div className="overflow-auto relative">
|
||||
<strudel-editor
|
||||
is-line-numbers-displayed="0"
|
||||
is-active-line-highlighted="0"
|
||||
code={code}
|
||||
ref={(el) => {
|
||||
if (wc.current) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue