Skip to content

Commit 73303c2

Browse files
formanb-yogesh
andauthored
Update chartlets.js/packages/lib/src/plugins/mui/Divider.tsx
Co-authored-by: b-yogesh <[email protected]>
1 parent 9678716 commit 73303c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chartlets.js/packages/lib/src/plugins/mui/Divider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const Divider = ({
3333
flexItem={flexItem}
3434
textAlign={textAlign}
3535
>
36-
<Children nodes={nodes} onChange={onChange} />
36+
{nodes && nodes.length && <Children nodes={nodes} onChange={onChange} />}
3737
</MuiDivider>
3838
);
3939
};

0 commit comments

Comments
 (0)