From ca71d45a77649dbb7bdba0557bdfbaedf195e0f5 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Thu, 15 Dec 2022 01:45:36 +0800 Subject: [PATCH] Fix wrong isSelf logic --- src/pages/notifications.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/notifications.jsx b/src/pages/notifications.jsx index b370f087..3ff045ab 100644 --- a/src/pages/notifications.jsx +++ b/src/pages/notifications.jsx @@ -50,7 +50,7 @@ function Notification({ notification }) { const actualStatusID = status?.reblog?.id || status?.id; const currentAccount = store.session.get('currentAccount'); - const isSelf = currentAccount?.id === account?.id; + const isSelf = currentAccount === account?.id; const isVoted = status?.poll?.voted; const text =