Remove unneeded props interface (#1487)

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-09-05 21:37:01 +02:00 committed by GitHub
parent 7ec956e5c3
commit ec921f775c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,11 +22,6 @@ import './codemirror-imports'
import { setNoteContent } from '../../../redux/note-details/methods'
import { useNoteMarkdownContent } from '../../../hooks/common/use-note-markdown-content'
export interface EditorPaneProps {
onContentChange: (content: string) => void
content: string
}
const onChange = (editor: Editor) => {
for (const hinter of allHinters) {
const searchTerm = findWordAtCursor(editor)