From 977337f2d245a617b970021379189555e8e1edb9 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Tue, 23 Jul 2024 02:46:09 -0400 Subject: [PATCH] [Glitch] Update Prettier to 3.3.3 Port 9a015a2a157b43ea63d911327248635e629a72c9 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/entrypoints/public.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/entrypoints/public.tsx b/app/javascript/flavours/glitch/entrypoints/public.tsx index 5a8d5e08cb..649af3a880 100644 --- a/app/javascript/flavours/glitch/entrypoints/public.tsx +++ b/app/javascript/flavours/glitch/entrypoints/public.tsx @@ -316,8 +316,8 @@ function loaded() { const message = statusEl.dataset.spoiler === 'expanded' - ? localeData['status.show_less'] ?? 'Show less' - : localeData['status.show_more'] ?? 'Show more'; + ? (localeData['status.show_less'] ?? 'Show less') + : (localeData['status.show_more'] ?? 'Show more'); spoilerLink.textContent = new IntlMessageFormat( message, locale,