Remove redundant params for popup

This commit is contained in:
kvakazyambra 2024-05-07 01:16:28 +03:00
parent b7f19353f3
commit 1aa1dd3648
3 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ export const SharePopup = (props: SharePopupProps) => {
})
return (
<Popup {...props} variant="bordered" onVisibilityChange={(value) => setIsVisible(value)}>
<Popup {...props} onVisibilityChange={(value) => setIsVisible(value)}>
<ShareLinks
variant="inPopup"
title={props.title}

View File

@ -150,7 +150,6 @@ export const HeaderAuth = (props: Props) => {
{editorMode()}
</span>
}
variant="bordered"
popupCssClass={styles.editorPopup}
>
<ul class={clsx('nodash', styles.editorModesList)}>

View File

@ -18,7 +18,7 @@ export const ProfilePopup = (props: ProfilePopupProps) => {
const { t } = useLocalize()
return (
<Popup {...props} horizontalAnchor="right" variant="bordered">
<Popup {...props} horizontalAnchor="right">
<ul class="nodash">
<li>
<a class={styles.action} href={getPagePath(router, 'author', { slug: author().slug })}>