Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Aug 23, 2022
1 parent ebb2807 commit bc5a62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drafts/MarkdownEditor/MarkdownEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ const MarkdownEditor = forwardRef<MarkdownEditorHandle, MarkdownEditorProps>(
e.key === 'p'
) {
setView?.('edit')
setTimeout => inputRef.current?.focus())
setTimeout(() => inputRef.current?.focus())
e.preventDefault()
}
}
Expand Down

0 comments on commit bc5a62a

Please sign in to comment.