1
0
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:
Lagu Longa
2022-11-17 11:21:51 -05:00
committed by GitHub
parent 70b64dc8f1
commit c8c75e9e2d

View File

@@ -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'