Skip to content

Commit

Permalink
fix: slider build error
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-forest committed Apr 17, 2024
1 parent 572c5f5 commit 5a0226f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/component/src/Slider/style/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createStyles } from 'antd-style';

const useStyles = createStyles(({ token, css, prefixCls }) => {
const { handleLineWidth = 1, handleLineWidthHover = 2 } = token.Slider ?? {};
const { handleLineWidth = 1, handleLineWidthHover = 2 } = (token as any).Slider ?? {};
return {
sliderWrap: css`
// error
Expand Down

0 comments on commit 5a0226f

Please sign in to comment.