pl-fe: conditionally display subscription button

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-30 12:03:10 +01:00
parent 0ea7f5aa60
commit aea442d559

View File

@ -773,7 +773,7 @@ const Header: React.FC<IHeader> = ({ account }) => {
<div className='mt-6 flex w-full justify-end sm:pb-1'>
<HStack space={2} className='mt-10' justifyContent='end' wrap>
<SubscriptionButton account={account} />
{(ownAccount && account.id !== ownAccount.id) && <SubscriptionButton account={account} />}
{renderMessageButton()}
{renderShareButton()}