1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-18 05:59:13 +01:00

An unused state was deleted. (#3413)

This commit is contained in:
Aykut Kardaş 2020-01-27 23:22:54 +03:00 committed by Ian Storm Taylor
parent 612dbcb3a6
commit f813af790e

View File

@ -179,7 +179,6 @@ But we forgot one thing. When you hit `` Ctrl-` `` again, it should change the c
```js
const App = () => {
const editor = useMemo(() => withReact(createEditor()), [])
const [selection, setSelection] = useState(null)
const [value, setValue] = useState([
{
type: 'paragraph',