Skip to content

Commit 8b0b070

Browse files
authored
fix: set value to emptystring when undefined (#980)
1 parent 83aa3d3 commit 8b0b070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/components/SQLInlineEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ function SQLInlineEditorControlledComponent({
367367
let stringValue = '';
368368
if (typeof value === 'string') {
369369
stringValue = value;
370-
} else {
370+
} else if (value !== undefined) {
371371
console.error('SQLInlineEditor: value is not a string', value);
372372
}
373373

0 commit comments

Comments
 (0)