chore: hide note creator on donate page

This commit is contained in:
Kieran 2023-02-11 20:13:37 +00:00
parent b5c145a131
commit 9595524a94
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 1 deletions

View File

@ -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]);