From c6957f696763cb236370f91603ec6ebb4fdbca3a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 12 Mar 2023 10:34:58 +0800 Subject: [PATCH] Disable Posts link on Account statuses page --- src/components/account-info.jsx | 34 +++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 73b1be9f..82002287 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -227,18 +227,28 @@ function AccountInfo({ )}

- { - hideAllModals(); - }} - > - Posts -
- - {shortenNumber(statusesCount)} - {' '} - + {standalone ? ( + + Posts +
+ + {shortenNumber(statusesCount)} + {' '} +
+ ) : ( + { + hideAllModals(); + }} + > + Posts +
+ + {shortenNumber(statusesCount)} + {' '} + + )} Following