chore: removes unused dependencies
This commit is contained in:
@@ -10,13 +10,11 @@ import Check from '../../../../../icons/Check';
|
||||
import Error from '../../../../Error';
|
||||
|
||||
import './index.scss';
|
||||
import { useTheme } from '../../../../../utilities/Theme';
|
||||
|
||||
const baseClass = 'rich-text-link';
|
||||
|
||||
const Link = ({ attributes, children, element, editorRef }) => {
|
||||
const editor = useSlate();
|
||||
const { theme } = useTheme();
|
||||
const [error, setError] = useState(false);
|
||||
const [open, setOpen] = useState(element.url === undefined);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user