From a7d9963b5b88636fe5c809d933f76849a1989df7 Mon Sep 17 00:00:00 2001
From: liliana <liliana.sanfilippo@uni-bielefeld.de>
Date: Thu, 4 Jul 2024 20:18:00 +0200
Subject: [PATCH] deleted DomPurify

---
 src/components/Map1.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/components/Map1.tsx b/src/components/Map1.tsx
index 5e1507e7..2a734ddc 100644
--- a/src/components/Map1.tsx
+++ b/src/components/Map1.tsx
@@ -1,5 +1,4 @@
 import InnerHTML from 'dangerously-set-html-content'
-import DOMPurify from 'dompurify';
 export function Map1(){
     const htmlFile = `<div style="min-height: 374px">
         <script type="text/javascript" defer src="src/utils/mapscript.js" charset="utf-8">
@@ -8,9 +7,8 @@ export function Map1(){
         <img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" />
         </noscript>
 </div>`
-const sanitizedHTML = DOMPurify.sanitize(htmlFile);
 return(
-    <InnerHTML html={sanitizedHTML} />
+    <InnerHTML html={htmlFile} />
 )   
 }
 
-- 
GitLab