Skip to content

Commit eb6ca38

Browse files
authored
fix(cubejs-playground): rollup designer accordion (#9937)
1 parent 8b96bc8 commit eb6ca38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-playground/src/QueryBuilderV2/components/Accordion/AccordionDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const AccordionDetails = memo(function AccordionDetails(
9595
useLayoutEffect(() => {
9696
accordionContentRef.current?.style.setProperty(
9797
ACCORDION_CONTENT_HEIGHT_VARIABLE,
98-
`${accordionContentRef.current.scrollHeight}px`
98+
`${accordionContentRef.current?.scrollHeight}px`
9999
);
100100
}, [isExpanded]);
101101

0 commit comments

Comments
 (0)