SharePopup - IsVisible as optional prop (#100)

This commit is contained in:
Ilya Y 2023-05-18 16:18:07 +03:00 committed by GitHub
parent 446a3fae34
commit d6b797aa0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,9 @@ export const ProfilePopup = (props: ProfilePopupProps) => {
<a href={getPagePath(router, 'drafts')}>{t('Drafts')}</a>
</li>
<li>
<a href="#">{t('Subscriptions')}</a>
<a href={`${getPagePath(router, 'author', { slug: user().slug })}/?by=subscriptions`}>
{t('Subscriptions')}
</a>
</li>
<li>
<a href={`${getPagePath(router, 'author', { slug: user().slug })}/?by=commented`}>