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:
@@ -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}>
|
||||||
|
Reference in New Issue
Block a user