Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: simple dropdown menu breaking app (#2914)

Peter Chinmanc961e629ef56
diff --git a/js/app/packages/app/component/SimpleDropdown.tsx b/js/app/packages/app/component/SimpleDropdown.tsx
index 68d8e0c116..c463e29ad0 100644
--- a/js/app/packages/app/component/SimpleDropdown.tsx
+++ b/js/app/packages/app/component/SimpleDropdown.tsx
@@ -286,7 +286,10 @@ export type DropdownMenuLike = {
// focus management) but replace Item with the wrapped KobalteItem so that
// callers can use the text/icon/onClick interface.
const DesktopDropdown = Object.assign(
- ({ boundary: _boundary, ...props }: any) => <DropdownMenu {...props} />,
+ (props: any) => {
+ const [, others] = splitProps(props, ['boundary']);
+ return <DropdownMenu {...others} />;
+ },
{
Trigger: DropdownMenu.Trigger,
Portal: DropdownMenu.Portal,