work-in-progress atproto PDS
typescript atproto pds atcute

refactor: don't spread style on MenuTrigger

mary.my.id 24b706ce 043613c4

verified
+2 -2
+2 -2
packages/danaus/src/web/primitives/menu-trigger.tsx
··· 1 + import { cx } from 'cva'; 1 2 import { cloneElement } from 'hono/jsx'; 2 3 import type { JSX } from 'hono/jsx/jsx-runtime'; 3 4 ··· 20 21 return cloneElement(children, { 21 22 commandfor: menuId, 22 23 command: 'toggle-popover', 23 - class: `anchor ${childProps?.class ?? ''}`.trim(), 24 - style: childProps?.style, 24 + class: cx('anchor', childProps?.class as string | undefined), 25 25 }); 26 26 }; 27 27