Skip to content

Commit

Permalink
fix(codemirror): make sure extensions & theme is applied when init (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Apr 26, 2024
1 parent 0cc8fb7 commit 9b4816e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sandpack-react/src/components/CodeEditor/CodeMirror.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export const CodeMirror = React.forwardRef<CodeMirrorRef, CodeMirrorProps>(
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
shouldInitEditor,
sortedDecorators,
showLineNumbers,
wrapContent,
Expand Down

0 comments on commit 9b4816e

Please sign in to comment.