Skip to content

Commit bc5a62a

Browse files
authored
Fix syntax error
1 parent ebb2807 commit bc5a62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drafts/MarkdownEditor/MarkdownEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ const MarkdownEditor = forwardRef<MarkdownEditorHandle, MarkdownEditorProps>(
289289
e.key === 'p'
290290
) {
291291
setView?.('edit')
292-
setTimeout => inputRef.current?.focus())
292+
setTimeout(() => inputRef.current?.focus())
293293
e.preventDefault()
294294
}
295295
}

0 commit comments

Comments
 (0)