Skip to content

Commit 40bc412

Browse files
committed
Update
1 parent d74d301 commit 40bc412

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/redux-devtools-ui/src/Editor/Editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const EditorContainer = styled.div(
1818
);
1919

2020
export interface EditorProps {
21-
value: string;
21+
value?: string;
2222
lineNumbers?: boolean;
2323
readOnly?: boolean;
2424
theme?: Base16Theme;
@@ -28,7 +28,7 @@ export interface EditorProps {
2828
}
2929

3030
export default function Editor({
31-
value,
31+
value = '',
3232
lineNumbers = true,
3333
readOnly = false,
3434
foldGutter = true,

0 commit comments

Comments
 (0)