mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-22 15:02:51 +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
|
||||
// Import React dependencies.
|
||||
import React, { useEffect, useMemo, useState } from 'react'
|
||||
import React, { useMemo, useState } from 'react'
|
||||
// Import the Slate editor factory.
|
||||
import { createEditor } from 'slate'
|
||||
|
||||
|
Reference in New Issue
Block a user