Skip to content

Commit 8fc2b31

Browse files
Fix TS error: default isImport to false for CODE.replace call
1 parent bcd9ed2 commit 8fc2b31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/editor/transformers/code-transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const CODE_BLOCK: MultilineElementTransformer = {
108108
startMatch,
109109
endMatch,
110110
linesInBetween,
111-
isImport,
111+
isImport ?? false,
112112
);
113113
}
114114
if (!linesInBetween) return;

0 commit comments

Comments
 (0)