Skip to content

Commit 193de7b

Browse files
authored
[test] Fix defaultProps overriding props (#19858)
1 parent 4fba0da commit 193de7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-ui/test/typescript/components.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,12 +794,12 @@ const StepperTest = () =>
794794
};
795795
return (
796796
<MobileStepper
797+
{...defaultProps}
797798
variant="dots"
798799
steps={6}
799800
position="static"
800801
activeStep={this.state.activeStep}
801802
className={classes.root}
802-
{...defaultProps}
803803
/>
804804
);
805805
}

0 commit comments

Comments
 (0)