mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 06:53:25 +02:00
Remove unused useEffect import (#4406)
It's imported, but not actually being used.
This commit is contained in:
@@ -18,7 +18,7 @@ Once you've installed Slate, you'll need to import it.
|
|||||||
|
|
||||||
```jsx
|
```jsx
|
||||||
// Import React dependencies.
|
// Import React dependencies.
|
||||||
import React, { useEffect, useMemo, useState } from 'react'
|
import React, { useMemo, useState } from 'react'
|
||||||
// Import the Slate editor factory.
|
// Import the Slate editor factory.
|
||||||
import { createEditor } from 'slate'
|
import { createEditor } from 'slate'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user