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:
parent
612dbcb3a6
commit
f813af790e
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user