Remove redundant params for popup
This commit is contained in:
parent
b7f19353f3
commit
1aa1dd3648
|
@ -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}
|
||||
|
|
|
@ -150,7 +150,6 @@ export const HeaderAuth = (props: Props) => {
|
|||
{editorMode()}
|
||||
</span>
|
||||
}
|
||||
variant="bordered"
|
||||
popupCssClass={styles.editorPopup}
|
||||
>
|
||||
<ul class={clsx('nodash', styles.editorModesList)}>
|
||||
|
|
|
@ -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 })}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user