chore: removes unused dependencies

This commit is contained in:
James
2022-07-16 10:41:54 -07:00
parent ba29898d97
commit 779a60a42c
2 changed files with 0 additions and 2 deletions

View File

@@ -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);