Remove more deprecations

This commit is contained in:
Piotr Rogowski 2022-11-04 20:10:35 +01:00
parent e51a6b5f57
commit 3350eeef75
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
3 changed files with 2 additions and 7 deletions

View File

@ -22,7 +22,6 @@ import {
Col,
Tooltip,
Grid,
Menu,
Dropdown,
Typography,
Radio,
@ -304,9 +303,7 @@ const TopBar = ({
</Button>
</Link>
{tuneData?.tuneId && <Dropdown
overlay={
<Menu triggerSubMenuAction="click" items={downloadItems} />
}
menu={{ items: downloadItems }}
placement="bottom"
trigger={['click']}
>
@ -315,7 +312,7 @@ const TopBar = ({
</Button>
</Dropdown>}
<Dropdown
overlay={<Menu items={userMenuItems} />}
menu={{ items: userMenuItems }}
placement="bottomRight"
trigger={['click']}
>

View File

@ -54,7 +54,6 @@ import {
} from '../components/Tune/SideBar';
const { Content } = Layout;
const { Step } = Steps;
const edgeUnknown = 'Unknown';
const badgeStyle = { backgroundColor: Colors.TEXT };

View File

@ -70,7 +70,6 @@ import {
} from '../components/Tune/SideBar';
const { Content } = Layout;
const { Step } = Steps;
const edgeUnknown = 'Unknown';
const minCanvasHeightInner = 500;
const badgeStyle = { backgroundColor: Colors.TEXT };