From 4f0e104fc4dd5b3dcde225c69f54be575b8cab1d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 26 Jul 2022 11:15:04 -0500 Subject: [PATCH] GdprBanner: conditionally show "Learn more" button --- app/soapbox/components/gdpr-banner.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/soapbox/components/gdpr-banner.tsx b/app/soapbox/components/gdpr-banner.tsx index 9095d7e03..14eed7b9c 100644 --- a/app/soapbox/components/gdpr-banner.tsx +++ b/app/soapbox/components/gdpr-banner.tsx @@ -44,9 +44,13 @@ const GdprBanner: React.FC = () => { - + {soapbox.gdprUrl && ( + + + + )}