From ff70533e449182bbc57d8285e6a82e0b19e9c3a4 Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Sun, 28 Apr 2024 17:44:21 +0200 Subject: [PATCH] Update board-buttons.tsx --- src/components/board-buttons/board-buttons.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 4ff050ce..04aac440 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -58,6 +58,7 @@ export const MobileBoardButtons = () => { const accountComment = useAccountComment({ commentIndex: params?.accountCommentIndex as any }); const subplebbitAddress = params?.subplebbitAddress || accountComment?.subplebbitAddress; const isInPostPage = isPostPageView(location.pathname, params); + const isInCatalogView = isCatalogView(location.pathname, params); const isInPendingPostPage = isPendingPostView(location.pathname, params); return ( @@ -75,7 +76,7 @@ export const MobileBoardButtons = () => { ) : ( <> - + )} @@ -97,7 +98,7 @@ export const DesktopBoardButtons = () => {
{isInPostPage || isInPendingPostPage ? ( <> - [] [] [] [ + [] [] [] [ ] []