We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b96bc8 commit eb6ca38Copy full SHA for eb6ca38
packages/cubejs-playground/src/QueryBuilderV2/components/Accordion/AccordionDetails.tsx
@@ -95,7 +95,7 @@ export const AccordionDetails = memo(function AccordionDetails(
95
useLayoutEffect(() => {
96
accordionContentRef.current?.style.setProperty(
97
ACCORDION_CONTENT_HEIGHT_VARIABLE,
98
- `${accordionContentRef.current.scrollHeight}px`
+ `${accordionContentRef.current?.scrollHeight}px`
99
);
100
}, [isExpanded]);
101
0 commit comments