diff options
Diffstat (limited to 'packages/ui/src/components/popover.tsx')
| -rw-r--r-- | packages/ui/src/components/popover.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ui/src/components/popover.tsx b/packages/ui/src/components/popover.tsx index 8263640a5..be5b78519 100644 --- a/packages/ui/src/components/popover.tsx +++ b/packages/ui/src/components/popover.tsx @@ -106,7 +106,7 @@ export function Popover<T extends ValidComponent = "div">(props: PopoverProps<T> ref={(el: HTMLElement | undefined) => setState("contentRef", el)} data-component="popover-content" classList={{ - ...(local.classList ?? {}), + ...local.classList, [local.class ?? ""]: !!local.class, }} style={local.style} |
