mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-07-31 20:40:19 +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[]`.
|
||||
|
||||
```tsx
|
||||
import React, { useState, useState } from 'react'
|
||||
import React, { useState } from 'react'
|
||||
import { createEditor, Descendant } from 'slate'
|
||||
import { Slate, Editable, withReact } from 'slate-react'
|
||||
|
||||
|
Reference in New Issue
Block a user