Skip to content

Commit

Permalink
fix: 💄 Updated dropdowns to use newer menu property
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsadam committed Nov 18, 2024
1 parent e73cdae commit 8841f7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function ExportDropDown(props) {
</Menu>
);
return (
<Dropdown overlay={menu}>
<Dropdown menu={menu}>
<Button tour="tour-export">
{i18n("linelist.toolbar.export")}
<IconDropDown style={{ marginLeft: SPACE_XS }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export function ProjectsTable() {
justifyContent: "space-between",
}}
>
<Dropdown overlay={exportMenu} key="export">
<Dropdown menu={exportMenu} key="export">
<Button>
{i18n("ProjectsTable_export")}
<IconDropDown style={{ marginLeft: SPACE_XS }} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ export default function SamplesMenu() {
<Row justify="space-between">
<Space>
{details.canManage && (
<Dropdown overlay={toolsMenu}>
<Dropdown menu={toolsMenu}>
<Button className="t-sample-tools">
{i18n("SamplesMenu.label")} <IconDropDown />
</Button>
</Dropdown>
)}
<Dropdown overlay={exportMenu}>
<Dropdown menu={exportMenu}>
<Button className="t-export">
{i18n("SampleMenu.export")} <IconDropDown />
</Button>
Expand Down

0 comments on commit 8841f7c

Please sign in to comment.