From 52cea37e18e9f9033b7e69bec7e7a8f82aaba1e4 Mon Sep 17 00:00:00 2001 From: VitroidFPV <76877124+VitroidFPV@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:27:49 +0100 Subject: [PATCH] Fix: purify incorrect import --- src/components/Sponsors/PartnerOverview.tsx | 4 ++-- src/components/Sponsors/SponsorBanner.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 (