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 ( return (
<Popup {...props} variant="bordered" onVisibilityChange={(value) => setIsVisible(value)}> <Popup {...props} onVisibilityChange={(value) => setIsVisible(value)}>
<ShareLinks <ShareLinks
variant="inPopup" variant="inPopup"
title={props.title} title={props.title}

View File

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

View File

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