ProfilePage: don't load account note panel until account is loaded
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1514
This commit is contained in:
@ -119,7 +119,7 @@ const ProfilePage: React.FC<IProfilePage> = ({ params, children }) => {
|
||||
</BundleContainer>
|
||||
)}
|
||||
|
||||
{features.notes && me !== account?.id && (
|
||||
{features.notes && account && account?.id !== me && (
|
||||
<BundleContainer fetchComponent={AccountNotePanel}>
|
||||
{Component => <Component account={account} />}
|
||||
</BundleContainer>
|
||||
|
||||
Reference in New Issue
Block a user