From 147e39f29ebe04d76625ee7d1652f7526be8d82c Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Thu, 4 Jul 2024 22:31:56 +0200 Subject: [PATCH] put into general folder --- public/mapscript.js => mapscript.js | 0 src/components/Map1.tsx | 2 +- tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename public/mapscript.js => mapscript.js (100%) diff --git a/public/mapscript.js b/mapscript.js similarity index 100% rename from public/mapscript.js rename to mapscript.js diff --git a/src/components/Map1.tsx b/src/components/Map1.tsx index 2527ac24..ecb8ea33 100644 --- a/src/components/Map1.tsx +++ b/src/components/Map1.tsx @@ -1,7 +1,7 @@ import InnerHTML from 'dangerously-set-html-content' export function Map1(){ const htmlFile = `<div style="min-height: 374px"> - <script type="text/javascript" defer src="%PUBLIC_URL%/mapscript.js" charset="utf-8"> + <script type="text/javascript" defer src="mapscript.js" charset="utf-8"> </script> <noscript> <img src="https://static.igem.wiki/teams/5247/charts-maps/map1-full.png" alt="" /> diff --git a/tsconfig.json b/tsconfig.json index 3b1ee878..daf6bdf7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,7 +20,7 @@ "noUnusedParameters": true, "noFallthroughCasesInSwitch": true }, - "include": ["src", "public/mapscript.js"] + "include": ["src", "mapscript.js"] } \ No newline at end of file -- GitLab