Skip to content

Commit 0a2ab13

Browse files
committed
chore: no need to tamper with the base theme
1 parent c8af457 commit 0a2ab13

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

storybook/stories/area/21_with_time_timeslip.story.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,11 @@ export const Example = () => {
7979
step: 1,
8080
});
8181

82-
const baseTheme = useBaseTheme();
8382
return (
8483
<Chart>
8584
<Settings
86-
baseTheme={{
87-
...baseTheme,
88-
axes: {
89-
...baseTheme.axes,
90-
tickLine: { ...baseTheme.axes.tickLine, visible: true },
91-
},
92-
}}
85+
baseTheme={useBaseTheme()}
86+
theme={{ axes: { tickLine: { visible: true } } }}
9387
xDomain={
9488
binWidth > 0
9589
? {

0 commit comments

Comments
 (0)