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