From 9595524a945fe6f539058d7abb8fe62aeae3a0c9 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 11 Feb 2023 20:13:37 +0000 Subject: [PATCH] chore: hide note creator on donate page --- src/Pages/Layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pages/Layout.tsx b/src/Pages/Layout.tsx index db90a88..606f6e0 100644 --- a/src/Pages/Layout.tsx +++ b/src/Pages/Layout.tsx @@ -40,7 +40,7 @@ export default function Layout() { useLoginFeed(); const shouldHideNoteCreator = useMemo(() => { - const hideOn = ["/settings", "/messages", "/new", "/login"]; + const hideOn = ["/settings", "/messages", "/new", "/login", "/donate"]; return hideOn.some(a => location.pathname.startsWith(a)); }, [location]);