From 948dbcaa49b61f432ea08935a8d8bdad1d3e2443 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 14 Nov 2023 16:51:33 -0600 Subject: [PATCH] GdprBanner: fix inverted `shown` logic --- src/components/gdpr-banner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/gdpr-banner.tsx b/src/components/gdpr-banner.tsx index bcd4ed303..288a5e421 100644 --- a/src/components/gdpr-banner.tsx +++ b/src/components/gdpr-banner.tsx @@ -22,7 +22,7 @@ const GdprBanner: React.FC = () => { setTimeout(() => setShown(true), 200); }; - if (!shown) { + if (shown) { return null; }