From c4aeda4a7a71af5cb25adc8fd873f85410a5efd5 Mon Sep 17 00:00:00 2001 From: Evan Petersen Date: Wed, 2 Oct 2024 11:47:29 -0400 Subject: [PATCH] Give variable equations a key value --- media/js/src/utils.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media/js/src/utils.jsx b/media/js/src/utils.jsx index 4149aa7..acdc140 100644 --- a/media/js/src/utils.jsx +++ b/media/js/src/utils.jsx @@ -115,7 +115,7 @@ export const inlineKatex = (tex) => * @returns React.JSX.Element */ export const formulaText = (content = { title: '', body: [] }, i) => ( - <> +
{content.title &&

{content.title}:

}
{content.body.map((eq, i) => ( @@ -124,7 +124,7 @@ export const formulaText = (content = { title: '', body: [] }, i) => (
))}
- + ); /**