mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 04:20:26 +02:00
remove duplicate useState import (#5194)
This commit is contained in:
@@ -38,7 +38,7 @@ declare module 'slate' {
|
|||||||
Annotate the editor's initial value w/ `Descendant[]`.
|
Annotate the editor's initial value w/ `Descendant[]`.
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
import React, { useState, useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import { createEditor, Descendant } from 'slate'
|
import { createEditor, Descendant } from 'slate'
|
||||||
import { Slate, Editable, withReact } from 'slate-react'
|
import { Slate, Editable, withReact } from 'slate-react'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user