fix: SW-1010 Optimized code
This commit is contained in:
@@ -17,10 +17,9 @@ import styles from "./popover.module.css"
|
||||
export default function Popover({
|
||||
triggerContent,
|
||||
children,
|
||||
isNestedPopover = false,
|
||||
...props
|
||||
}: PopoverProps) {
|
||||
const setOverflowVisible = useSetOverFlowVisibleOnRA(isNestedPopover)
|
||||
const setOverflowVisible = useSetOverFlowVisibleOnRA()
|
||||
|
||||
return (
|
||||
<DialogTrigger onOpenChange={setOverflowVisible}>
|
||||
|
||||
Reference in New Issue
Block a user