mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-23 19:47:03 -04:00
Remove unneeded props interface (#1487)
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7ec956e5c3
commit
ec921f775c
1 changed files with 0 additions and 5 deletions
|
@ -22,11 +22,6 @@ import './codemirror-imports'
|
||||||
import { setNoteContent } from '../../../redux/note-details/methods'
|
import { setNoteContent } from '../../../redux/note-details/methods'
|
||||||
import { useNoteMarkdownContent } from '../../../hooks/common/use-note-markdown-content'
|
import { useNoteMarkdownContent } from '../../../hooks/common/use-note-markdown-content'
|
||||||
|
|
||||||
export interface EditorPaneProps {
|
|
||||||
onContentChange: (content: string) => void
|
|
||||||
content: string
|
|
||||||
}
|
|
||||||
|
|
||||||
const onChange = (editor: Editor) => {
|
const onChange = (editor: Editor) => {
|
||||||
for (const hinter of allHinters) {
|
for (const hinter of allHinters) {
|
||||||
const searchTerm = findWordAtCursor(editor)
|
const searchTerm = findWordAtCursor(editor)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue