From a532a94e41feeb290109a5d2ed141912ca7724a7 Mon Sep 17 00:00:00 2001
From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de>
Date: Wed, 25 Sep 2024 17:13:53 +0200
Subject: [PATCH] symptoms

---
 src/data/drug-data.tsx    | 15 +++++++--------
 src/data/symptom-data.tsx | 34 +++++++++++++++++-----------------
 2 files changed, 24 insertions(+), 25 deletions(-)

diff --git a/src/data/drug-data.tsx b/src/data/drug-data.tsx
index a3647f38..15dd52a4 100644
--- a/src/data/drug-data.tsx
+++ b/src/data/drug-data.tsx
@@ -9,7 +9,7 @@ export interface DrugDatensatz {
 
 interface example{
     title: string,
-    text: string
+    text: Array<string>; 
 }
 
 export const drugdata: (Array<DrugDatensatz>)  = [
@@ -20,11 +20,11 @@ export const drugdata: (Array<DrugDatensatz>)  = [
         examples: [
             {
                 title: "",
-                text: ""
+                text: [""]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -35,11 +35,10 @@ export const drugdata: (Array<DrugDatensatz>)  = [
         examples: [
             {
                 title: "Trikafta",
-                text: "Active ingredient(s): Combination of elexacaftor/tezacaftor/ivacaftor \n Indications: For CF patients aged 2 years and older with at least one F508del mutation à 85 % of CF patients \n Mechanism: Elexacaftor and tezacaftor act as correctors on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5]. \n Administration: Oral tablets \n Approval: Approved by the EMA in 2020 "
-            },
+                text: ["Active ingredient(s): Combination of elexacaftor/tezacaftor/ivacaftor \n Indications: For CF patients aged 2 years and older with at least one F508del mutation à 85 % of CF patients \n Mechanism: Elexacaftor and tezacaftor act as correctors on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5]. \n Administration: Oral tablets \n Approval: Approved by the EMA in 2020 "] },
             {
                 title: "Symdeko",
-                text: "Active ingredient(s): Combination of tezacaftor and ivacaftor \n Indications: For CF patients aged 6 years and older with specific mutations in combination with F508del or with two copies of F508del mutation \n Mechanism: Tezacaftor acts as a corrector on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5] \n Administration: Oral tablets \n Approval: Approved by the EMA in 2018"
+                text: ["Active ingredient(s): Combination of tezacaftor and ivacaftor \n Indications: For CF patients aged 6 years and older with specific mutations in combination with F508del or with two copies of F508del mutation \n Mechanism: Tezacaftor acts as a corrector on misfolded CFTR and permit delivery to the cell surface, thereby improving the channel density at the plasma membrane, while ivacaftor as a potentiator acts on CFTR channels that have reached the cell surface and increase the gating and conductance of ions [5] \n Administration: Oral tablets \n Approval: Approved by the EMA in 2018"]
             },
         ]
     },
@@ -50,11 +49,11 @@ export const drugdata: (Array<DrugDatensatz>)  = [
         examples: [
             {
                 title: "",
-                text: "test"
+                text: ["test"]
             },
             {
                 title: "",
-                text: "test2"
+                text: ["test2"]
             },
         ]
     }
diff --git a/src/data/symptom-data.tsx b/src/data/symptom-data.tsx
index a309eb4b..cc46814c 100644
--- a/src/data/symptom-data.tsx
+++ b/src/data/symptom-data.tsx
@@ -9,7 +9,7 @@ export interface SymptomDatensatz {
 
 interface example{
     title: string,
-    text: string
+    text: Array<string>; 
 }
 export const symptomdata: (Array<SymptomDatensatz>)  = [
     {
@@ -19,11 +19,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -34,11 +34,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -49,11 +49,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -64,11 +64,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -79,11 +79,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -94,11 +94,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -109,11 +109,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     },
@@ -124,11 +124,11 @@ export const symptomdata: (Array<SymptomDatensatz>)  = [
         subsections: [
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
             {
                 title: "",
-                text: "string"
+                text: ["string"]
             },
         ]
     }
-- 
GitLab