Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

fix(ui): move id to menu button instead of wrapper div

Gabe Kangas305439a0dc59
diff --git a/web/components/common/UserDropdown/UserDropdown.tsx b/web/components/common/UserDropdown/UserDropdown.tsx
index 494c7f826e..bf409cc27f 100644
--- a/web/components/common/UserDropdown/UserDropdown.tsx
+++ b/web/components/common/UserDropdown/UserDropdown.tsx
@@ -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,