diff --git a/src/components/embed-modal.jsx b/src/components/embed-modal.jsx index fdd9c3ed7e..f8a9cbdf27 100644 --- a/src/components/embed-modal.jsx +++ b/src/components/embed-modal.jsx @@ -1,6 +1,7 @@ import './embed-modal.css'; import { Trans, useLingui } from '@lingui/react/macro'; +import DOMPurify from 'dompurify'; import Icon from './icon'; @@ -23,7 +24,7 @@ function EmbedModal({ html, url, width, height, onClose = () => {} }) {