Use on click for top buttons

This commit is contained in:
Piotr Rogowski 2021-03-23 20:36:06 +01:00
parent ee4c6ae15b
commit 80c8c4c08e
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
1 changed files with 2 additions and 0 deletions

View File

@ -181,6 +181,7 @@ const TopBar = () => {
<Dropdown
overlay={shareMenu}
placement="bottomCenter"
trigger={['click']}
>
<Button icon={<ShareAltOutlined />}>
<DownOutlined />
@ -189,6 +190,7 @@ const TopBar = () => {
<Dropdown
overlay={userMenu}
placement="bottomCenter"
trigger={['click']}
>
<Button icon={<UserOutlined />}>
<DownOutlined />