From d6282492322534d3ef0b7c9913fd75876f0411f5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 14 Sep 2023 13:45:09 -0500 Subject: [PATCH] ProfilePage: don't load account note panel until account is loaded Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1514 --- app/soapbox/pages/profile-page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/pages/profile-page.tsx b/app/soapbox/pages/profile-page.tsx index 698edff77..b9d6a3381 100644 --- a/app/soapbox/pages/profile-page.tsx +++ b/app/soapbox/pages/profile-page.tsx @@ -119,7 +119,7 @@ const ProfilePage: React.FC = ({ params, children }) => { )} - {features.notes && me !== account?.id && ( + {features.notes && account && account?.id !== me && ( {Component => }