diff --git a/lib/Switch.js b/lib/Switch.js index 735201e..723da86 100644 --- a/lib/Switch.js +++ b/lib/Switch.js @@ -89,13 +89,10 @@ export class Switch extends Component { } componentDidUpdate(prevProps) { - const { value, disabled } = this.props; + const { value } = this.props; if (prevProps.value === value) { return; } - if (prevProps.disabled && disabled === prevProps.disabled) { - return; - } this.animateSwitch(value, () => this.setState({ value })); }