Skip to content

Commit 8b86fe4

Browse files
tenphiigorlukanin
authored andcommitted
fix(cubejs-playground): rollup designer accordion (#9937)
1 parent 4d04d5b commit 8b86fe4

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)