From 086e827628e3493d01709d8468dc6c0d1d7ab156 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 3 Jun 2026 16:23:14 +0200 Subject: [PATCH] Hide contact info request if logged in --- web/components/contact.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web/components/contact.tsx b/web/components/contact.tsx index bb6c6728..9a2bd050 100644 --- a/web/components/contact.tsx +++ b/web/components/contact.tsx @@ -31,14 +31,16 @@ export function ContactComponent() { {t('contact.intro_prefix', 'You can also contact us through this ')} {t('contact.form_link', 'feedback form')} {t('contact.intro_middle', ' or any of our ')} - {t('contact.socials', 'socials')} - {t( - 'contact.intro_suffix', - ". Feel free to give your contact information if you'd like us to get back to you.", - )} + {t('contact.socials', 'socials')}. + {user === null && + ' ' + + t( + 'contact.intro_suffix', + "Feel free to give your contact information if you'd like us to get back to you.", + )}

-
+
{showButton && (