Skip to content

Commit 4d8fa82

Browse files
committed
fix: remove dead code
1 parent d796e90 commit 4d8fa82

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

src/components/core/charts/LineChart/LineChart.stories.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,7 @@ const DefaultRenderer = <
5252

5353
return (
5454
<Box sx={{ height: 400 }}>
55-
<LineChart
56-
{...args}
57-
theme={{ ...theme, ...args.theme }}
58-
// theme={{
59-
// areaTopColor: isLightTheme
60-
// ? `#F2D9F6`
61-
// : (theme.vars || theme).palette.accent2Alt,
62-
// areaBottomColor: isLightTheme
63-
// ? (theme.vars || theme).palette.white.main
64-
// : (theme.vars || theme).palette.bg.main,
65-
// pointColor: (theme.vars || theme).palette.accent1.main,
66-
// lineColor: (theme.vars || theme).palette.accent2.main,
67-
// ...args.theme,
68-
// }}
69-
/>
55+
<LineChart {...args} theme={{ ...theme, ...args.theme }} />
7056
</Box>
7157
);
7258
};

0 commit comments

Comments
 (0)