There was an error while loading. Please reload this page.
1 parent 4df0176 commit 1e5dffdCopy full SHA for 1e5dffd
src/Menu/DelayedItems.js
@@ -20,7 +20,7 @@ const DelayedItems = WrappedComponent => class extends React.PureComponent {
20
const { applyDelays, children } = this.props;
21
const isEqualChildren = () => {
22
if (children.length !== nextChildren.length) {
23
- return false
+ return false;
24
}
25
let i = children.length;
26
if (i != nextChildren.length) return false;
@@ -34,7 +34,7 @@ const DelayedItems = WrappedComponent => class extends React.PureComponent {
34
children: nextApplyDelays ? this.applyTransitionDelays() : children,
35
});
36
} else if (!isEqualChildren()) {
37
- this.setState({children: nextChildren})
+ this.setState({children: nextChildren});
38
39
40
0 commit comments