diff --git a/src/frontend/src/primitives/Popover.tsx b/src/frontend/src/primitives/Popover.tsx index 467c7669..6e09231c 100644 --- a/src/frontend/src/primitives/Popover.tsx +++ b/src/frontend/src/primitives/Popover.tsx @@ -69,6 +69,7 @@ const StyledOverlayArrow = styled(OverlayArrow, { export const Popover = ({ children, variant = 'light', + withArrow = true, ...dialogProps }: { children: [ @@ -78,17 +79,20 @@ export const Popover = ({ | ReactNode, ] variant?: 'dark' | 'light' + withArrow?: boolean } & DialogProps) => { const [trigger, popoverContent] = children return ( {trigger} - - - - - + {withArrow && ( + + + + + + )} {({ close }) => (