We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d58bc6 commit 2840516Copy full SHA for 2840516
src/components/overview.js
@@ -46,7 +46,7 @@ export default class Overview extends Component {
46
}
47
componentDidMount() {
48
window.onresize = () => {
49
- this.forceUpdate()
+ this.forceUpdate();
50
};
51
52
render() {
src/components/transitions.js
@@ -42,10 +42,10 @@ export default {
42
const { transition, transitionDuration } = this.props;
43
if (transition.length > 0 && immediate !== true) {
44
setTimeout(() => {
45
- this.isMounted() && cb()
+ return this.isMounted() && cb();
}, transitionDuration);
} else {
- this.isMounted() && cb();
},
componentWillEnter(cb) {
0 commit comments