From 526a7b8f72613e55874a95d33cff30f34ca54c74 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Wed, 14 Aug 2024 16:34:35 +0200 Subject: [PATCH] alles vom graph auskommentiert --- package.json | 2 -- src/contents/Graph.tsx | 3 ++- src/contents/description.tsx | 4 ++-- yarn.lock | 17 ----------------- 4 files changed, 4 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index ed3c3723..674f166e 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@refinedev/core": "^4.53.0", "beautiful-react-diagrams": "^0.5.1", "bootstrap": "^5.3.3", - "chart.js": "^4.4.3", "dangerously-set-html-content": "^1.1.0", "dompurify": "^3.1.5", "framer-motion": "^11.2.13", @@ -33,7 +32,6 @@ "markmap-toolbar": "^0.17.0", "react": "^18.2.0", "react-bootstrap": "^2.10.2", - "react-chartjs-2": "^5.2.0", "react-collapsed": "^4.1.2", "react-dom": "^18.2.0", "react-js-diagrams": "^3.1.3", diff --git a/src/contents/Graph.tsx b/src/contents/Graph.tsx index 3ad07ef9..208d675b 100644 --- a/src/contents/Graph.tsx +++ b/src/contents/Graph.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +/* import React from 'react'; import { Pie } from 'react-chartjs-2'; import { Chart as ChartJS, ArcElement, Tooltip, Legend } from 'chart.js'; @@ -47,3 +47,4 @@ const PieChart: React.FC = () => { }; export default PieChart; + */ \ No newline at end of file diff --git a/src/contents/description.tsx b/src/contents/description.tsx index 1dd83068..6b1980ca 100644 --- a/src/contents/description.tsx +++ b/src/contents/description.tsx @@ -1,7 +1,7 @@ import { H2 } from "../components/headings"; import { Circle } from "../components/Shapes"; import { Complex } from "../components/svgs"; -import PieChart from './Graph.tsx'; +/* import PieChart from './Graph.tsx'; */ export function Description() { return ( @@ -140,7 +140,7 @@ export function Description() { <p>We are envisioning a potential integration into a broader therapeutic framework involving customized gene editing tools for various genetic disorders, that present similar problems/difficulties to the F508del mutation, as well as other genetic diseases of different causes. This could include collaborations with pharmaceutical companies to develop new treatment modalities for genetic diseases beyond cystic fibrosis, utilizing advanced delivery systems and personalized medicine approaches. </p> <H2 text="Editing Statistics"/> - <PieChart /> {/* Render the PieChart component */} + {/* <PieChart /> */} {/* Render the PieChart component */} </section> </div> diff --git a/yarn.lock b/yarn.lock index 0a7f5e8e..a42ace89 100644 --- a/yarn.lock +++ b/yarn.lock @@ -542,11 +542,6 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@kurkle/color@^0.3.0": - version "0.3.2" - resolved "https://registry.yarnpkg.com/@kurkle/color/-/color-0.3.2.tgz#5acd38242e8bde4f9986e7913c8fdf49d3aa199f" - integrity sha512-fuscdXJ9G1qb7W8VdHi+IwRqij3lBkosAm4ydQtEmbY58OzHXqQhvlxqEkoz0yssNVn38bcpRWgA9PP+OGoisw== - "@mapbox/node-pre-gyp@^1.0.0": version "1.0.11" resolved "https://registry.yarnpkg.com/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz#417db42b7f5323d79e93b34a6d7a2a12c0df43fa" @@ -1596,13 +1591,6 @@ chalk@^4.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -chart.js@^4.4.3: - version "4.4.3" - resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-4.4.3.tgz#3b2e11e7010fefa99b07d0349236f5098e5226ad" - integrity sha512-qK1gkGSRYcJzqrrzdR6a+I0vQ4/R+SoODXyAjscQ/4mzuNzySaMCd+hyVxitSY1+L2fjPD1Gbn+ibNqRmwQeLw== - dependencies: - "@kurkle/color" "^0.3.0" - cheerio-select@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4" @@ -3390,11 +3378,6 @@ react-bootstrap@^2.10.2: uncontrollable "^7.2.1" warning "^4.0.3" -react-chartjs-2@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/react-chartjs-2/-/react-chartjs-2-5.2.0.tgz#43c1e3549071c00a1a083ecbd26c1ad34d385f5d" - integrity sha512-98iN5aguJyVSxp5U3CblRLH67J8gkfyGNbiK3c+l1QI/G4irHMPQw44aEPmjVag+YKTyQ260NcF82GTQ3bdscA== - react-collapsed@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/react-collapsed/-/react-collapsed-4.1.2.tgz#a82e5032eeecc085a05d6ed0be63bbc851f2a517" -- GitLab