kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
ProfilePage: don't load account note panel until account is loaded
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1514environments/review-bugfixes-s7zcy6/deployments/3825
rodzic
b787b4cca7
commit
d628249232
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue