1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-12 10:14:02 +02:00

closed bracket on complete code example (#4950)

This commit is contained in:
James
2022-04-20 01:48:22 +10:00
committed by GitHub
parent 0e606f03c1
commit 34cfc1c704

View File

@@ -120,7 +120,7 @@ const initialValue = [
] ]
const App = () => { const App = () => {
const [editor] = useState(() => withReact(createEditor()) const [editor] = useState(() => withReact(createEditor()))
return ( return (
<Slate editor={editor} value={initialValue}> <Slate editor={editor} value={initialValue}>