Skip to content

Commit 17c7b7e

Browse files
committed
Adjust updateIframe
1 parent c11af98 commit 17c7b7e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/javascript/components/bootcamp/CSSExercisePage/LHS/CSSEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function CSSEditor() {
7777
css: view.state.doc.toString(),
7878
html: htmlEditorRef.current?.state.doc.toString() || '',
7979
},
80-
code.default
80+
code
8181
)
8282

8383
updateLocalStorageValueOnDebounce(view)

app/javascript/components/bootcamp/CSSExercisePage/LHS/HTMLEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function HTMLEditor() {
7777
html: view.state.doc.toString(),
7878
css: cssEditorRef.current?.state.doc.toString() || '',
7979
},
80-
code.default
80+
code
8181
)
8282

8383
updateLocalStorageValueOnDebounce(view)

0 commit comments

Comments
 (0)