We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f63ee1 commit 68d7561Copy full SHA for 68d7561
.changeset/puny-streets-smash.md
@@ -0,0 +1,5 @@
1
+---
2
+"@ultraviolet/plus": patch
3
4
+
5
+Fix `<CodeEditor />` to have fallback value
packages/plus/src/components/CodeEditor/CodeEditor.tsx
@@ -164,7 +164,7 @@ export const CodeEditor = ({
164
className={className}
165
data-testid={dataTestId}
166
editable={!disabled || !readOnly}
167
- extensions={[langs[extensions]()]}
+ extensions={[langs[extensions]?.() ?? langs['sh']]}
168
height={height}
169
id={id}
170
onBlur={onBlur}
0 commit comments