From 6c4e6b9bdca94f0de5fb8e22c69853a2b6f86bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sun, 15 Sep 2024 19:15:55 +0200 Subject: [PATCH] pl-fe: do not display default follow action when unauthenticated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/account.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/src/components/account.tsx b/packages/pl-fe/src/components/account.tsx index 8fc475af6..0df0cebff 100644 --- a/packages/pl-fe/src/components/account.tsx +++ b/packages/pl-fe/src/components/account.tsx @@ -160,7 +160,7 @@ const Account = ({ if (!withRelationship) return null; - if (account.id !== me) { + if (me && account.id !== me) { return ; }