diff --git a/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx b/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx index b57b6776f5..184bd1c8ca 100644 --- a/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx +++ b/packages/smarthr-ui/src/components/AccordionPanel/AccordionPanelContent.tsx @@ -31,9 +31,10 @@ export const AccordionPanelContent: FC = ({ className, ... const isInclude = getIsInclude(expandedItems, name) const wrapperRef = useRef(null) const styles = useMemo(() => accordionPanelContent({ className }), [className]) + const nodeRef = useRef(null) return ( - + {(status) => (