Skip to content

Commit 2c60f5f

Browse files
committed
..
1 parent e5aea50 commit 2c60f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lexical-cli-render-without-emoji.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ process.stdin.on("end", async () =>
2626
{
2727
try
2828
{
29-
const editorStateJson = JSON.parse(input);
29+
let editorStateJson = JSON.parse(input);
3030
if('editorState' in editorStateJson) editorStateJson = editorStateJson.editorState;
3131
const editorState = editor.parseEditorState(editorStateJson);
3232
editor.setEditorState(editorState);

0 commit comments

Comments
 (0)