started work on good components for transcripts
diff --git a/pages/nucleus/transcript/testing.js b/pages/nucleus/transcript/testing.js
index ac0240b..87e9a2c 100644
--- a/pages/nucleus/transcript/testing.js
+++ b/pages/nucleus/transcript/testing.js
@@ -22,7 +22,11 @@
paddingTop: "10px",
transition: "all 0.3s ease-in-out"
}}>
- <p>{props.humanReadable}</p>
+ {
+ props.humanReadable.split("\n").map((s, i) => {
+ return <p key={i}>{s}</p>
+ })
+ }
</div>
</>
}
@@ -40,7 +44,7 @@
if (ctx.query.code === "test") {
return {
props: {
- humanReadable: "This is a test string! It should render correctly on the page"
+ humanReadable: "This is a test string! It should render correctly on the page\nAnd a newline!"
}
}
} else {