mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 04:40:37 +03:00
fix(ui): move id to menu button instead of wrapper div
This commit is contained in:
parent
e5138161c2
commit
432a348deb
1 changed files with 2 additions and 2 deletions
|
@ -136,9 +136,9 @@ export const UserDropdown: FC<UserDropdownProps> = ({
|
|||
/>
|
||||
)}
|
||||
>
|
||||
<div id={id} className={styles.root}>
|
||||
<div className={styles.root}>
|
||||
<Dropdown overlay={menu} trigger={['click']}>
|
||||
<Button type="primary" icon={<UserOutlined className={styles.userIcon} />}>
|
||||
<Button id={id} type="primary" icon={<UserOutlined className={styles.userIcon} />}>
|
||||
<span
|
||||
className={classnames([
|
||||
styles.username,
|
||||
|
|
Loading…
Reference in a new issue