Skip to content

Commit

Permalink
fix: [progress] render error when size change (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
tank0317 committed Nov 1, 2021
1 parent 0fb4d53 commit 1641fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/semi-ui/progress/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class Progress extends Component<ProgressProps, ProgressState> {

return (
<div className={classNames.wrapper} style={style}>
<svg className={classNames.svg} height={width} width={width}>
<svg key={size} className={classNames.svg} height={width} width={width}>
<circle
strokeDashoffset={0}
strokeWidth={strokeWidth}
Expand Down

0 comments on commit 1641fa0

Please sign in to comment.