Remove redundant params for popup
This commit is contained in:
parent
b7f19353f3
commit
1aa1dd3648
|
@ -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}
|
||||||
|
|
|
@ -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)}>
|
||||||
|
|
|
@ -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 })}>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user