Skip to content

Commit 2840516

Browse files
committed
semicolons
1 parent 5d58bc6 commit 2840516

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/overview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default class Overview extends Component {
4646
}
4747
componentDidMount() {
4848
window.onresize = () => {
49-
this.forceUpdate()
49+
this.forceUpdate();
5050
};
5151
}
5252
render() {

src/components/transitions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export default {
4242
const { transition, transitionDuration } = this.props;
4343
if (transition.length > 0 && immediate !== true) {
4444
setTimeout(() => {
45-
this.isMounted() && cb()
45+
return this.isMounted() && cb();
4646
}, transitionDuration);
4747
} else {
48-
this.isMounted() && cb();
48+
return this.isMounted() && cb();
4949
}
5050
},
5151
componentWillEnter(cb) {

0 commit comments

Comments
 (0)