Fix build error
This commit is contained in:
parent
c4d2ad922a
commit
2c2f299e46
|
@ -30,7 +30,7 @@ export type SquiggleEditorProps = SquiggleChartProps & {
|
|||
export const SquiggleEditor: React.FC<SquiggleEditorProps> = (props) => {
|
||||
const [code, setCode] = useMaybeControlledValue({
|
||||
value: props.code,
|
||||
defaultValue: props.defaultCode,
|
||||
defaultValue: props.defaultCode ?? "",
|
||||
onChange: props.onCodeChange,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user