From 7b93d6adb9e27297a063466aa1e8fc88f83762ee Mon Sep 17 00:00:00 2001 From: Brine Date: Tue, 17 Sep 2024 10:36:59 -0600 Subject: [PATCH] conditional comma --- src/views/rando.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/rando.js b/src/views/rando.js index 6410769..914ab93 100644 --- a/src/views/rando.js +++ b/src/views/rando.js @@ -33,7 +33,7 @@ const rando = {
[${male}, ${female}, ${they}] ${sur}
-
${role}, ${epithet}, ${trait}, ${relationship}
+
${role}, ${epithet}, ${trait}${relationship ? `, ${relationship}` : '' }
${belief}