diff --git a/src/components/RSegment/src/Segment.tsx b/src/components/RSegment/src/Segment.tsx index 2c9a91a2..9b277b5f 100644 --- a/src/components/RSegment/src/Segment.tsx +++ b/src/components/RSegment/src/Segment.tsx @@ -40,7 +40,7 @@ const popoverSegmentTab = (option: RSegmentOptions) => { return ( {{ - trigger: iconSegmentTab(option), + trigger: () => iconSegmentTab(option), default: () => option.popover, }} @@ -54,7 +54,7 @@ const popoverSegmentTab = (option: RSegmentOptions) => { return ( {{ - trigger: iconSegmentTab(option), + trigger: () => iconSegmentTab(option), default: () => label, }}