Skip to content

Commit 3855f1e

Browse files
[charts] Fix missing error in the tooltip (#16748)
1 parent c4983f1 commit 3855f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/x-charts/src/ChartsTooltip/ChartsTooltipTable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const ChartsTooltipPaper = styled('div', {
1111
})(({ theme }) => ({
1212
backgroundColor: (theme.vars || theme).palette.background.paper,
1313
color: (theme.vars || theme).palette.text.primary,
14-
borderRadius: theme.shape.borderRadius,
14+
borderRadius: (theme.vars || theme).shape?.borderRadius,
1515
border: `solid ${(theme.vars || theme).palette.divider} 1px`,
1616
}));
1717

0 commit comments

Comments
 (0)