From 7aeb2455d0fbd8f5e47825dc54c7c1e9fc6a32d3 Mon Sep 17 00:00:00 2001 From: Liliana Sanfilippo <liliana.sanfilippo@uni-bielefeld.de> Date: Sun, 29 Sep 2024 16:23:33 +0200 Subject: [PATCH] Warning: validateDOMNesting(...): <p> cannot appear as a descendant of <p>. --- src/contents/description.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/contents/description.tsx b/src/contents/description.tsx index 6725a4b8..f754ebe0 100644 --- a/src/contents/description.tsx +++ b/src/contents/description.tsx @@ -36,7 +36,7 @@ export function Description() { <div className="col" > <img className="img" src="https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg"/> </div> - </div> + </div> <p>Max</p> </Section> <Section title="Cystic Fibrosis" id="Cystic Fibrosis"> @@ -53,7 +53,7 @@ export function Description() { <p>Class III mutations, known as “gating†mutations, reduce the likelihood that the CFTR channel will open correctly, impairing its function.</p> <p>Class IV, V, and VI mutations are rare. These mutations result in the production of unstable or inefficient CFTR proteins, which do not function adequately and are produced in insufficient numbers.</p> </Collapsible> - <p><LoremMedium/></p> + <LoremMedium/> </div> <div className="row-if-small col-2 "> <Circle text="1:3000 newborns worldwide"/> @@ -91,7 +91,7 @@ export function Description() { </figure> <div className="col"> - <p>Text about CFTR <LoremMedium/></p> + <p>Text about CFTR </p> <LoremMedium/> <div className="figure-wrapper"> <figure> <div className="col gif-wrapper"> @@ -134,7 +134,7 @@ export function Description() { </Collapsible> </Subesction> <Subesction title="Diagnosis" id="Cystic Fibrosis5"> - <p>About the ways one can be diagnosed <LoremMedium/></p> + <p>About the ways one can be diagnosed </p> <LoremMedium/> <div className="row align-items-center"> <div className="col" > <img src="https://static.igem.wiki/teams/5247/placeholders/placehilderperson.jpeg"/> -- GitLab