diff --git a/src/components/Sponsors/PartnerOverview.tsx b/src/components/Sponsors/PartnerOverview.tsx index a59cfc13c8..9f80c67ff0 100644 --- a/src/components/Sponsors/PartnerOverview.tsx +++ b/src/components/Sponsors/PartnerOverview.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import { useColorMode } from '@docusaurus/theme-common'; -import { sanitize } from 'dompurify'; +import DOMPurify from 'dompurify'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faSpinner } from '@fortawesome/free-solid-svg-icons'; @@ -26,5 +26,5 @@ export default function PartnerOverview(): React.JSX.Element { ); } - return
; + return
; } diff --git a/src/components/Sponsors/SponsorBanner.tsx b/src/components/Sponsors/SponsorBanner.tsx index 0abac14691..1eebcac498 100644 --- a/src/components/Sponsors/SponsorBanner.tsx +++ b/src/components/Sponsors/SponsorBanner.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import { useColorMode } from '@docusaurus/theme-common'; -import { sanitize } from 'dompurify'; +import DOMPurify from 'dompurify'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faSpinner } from '@fortawesome/free-solid-svg-icons'; @@ -45,7 +45,7 @@ export default function SponsorBanner(): React.JSX.Element { return (
{data ? ( -
+
) : (