Show note creator on profiles

This commit is contained in:
Kieran 2023-08-25 23:26:31 +01:00
parent 0630aa3208
commit 6fae5accde
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -43,7 +43,7 @@ export default function Layout() {
};
const shouldHideNoteCreator = useMemo(() => {
const hideOn = ["/settings", "/messages", "/new", "/login", "/donate", "/p/", "/e", "/subscribe"];
const hideOn = ["/settings", "/messages", "/new", "/login", "/donate", "/e", "/subscribe"];
return isReplyNoteCreatorShowing || hideOn.some(a => location.pathname.startsWith(a));
}, [location, isReplyNoteCreatorShowing]);