Skip to content

Commit 40bac57

Browse files
committed
linted code
1 parent 05084c7 commit 40bac57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap-switch-button-react.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export default class BootstrapSwitchButton extends React.Component {
5151
}
5252

5353
componentDidUpdate(_, prevState) {
54-
const { checked } = this.props
55-
if(typeof checked === "boolean" && checked !== prevState.checked) {
56-
this.setState({ checked })
54+
const { checked } = this.props;
55+
if (typeof checked === "boolean" && checked !== prevState.checked) {
56+
this.setState({ checked });
5757
}
5858
}
5959

0 commit comments

Comments
 (0)