refactoring

This commit is contained in:
Philipp Kühn
2021-03-08 23:10:10 +01:00
parent 7f698a7553
commit d64ddf6c1b
5 changed files with 217 additions and 211 deletions

View File

@@ -3,7 +3,7 @@ import { EditorOptions } from '@tiptap/core'
import { Editor } from './Editor'
function useForceUpdate() {
const [_, setValue] = useState(0)
const [, setValue] = useState(0)
return () => setValue(value => value + 1)
}