Browse Source

return null for ResizeOb

pull/15899/head
zombiej 6 years ago
parent
commit
3a9f81d6c1
  1. 2
      components/_util/resizeObserver.tsx

2
components/_util/resizeObserver.tsx

@ -53,7 +53,7 @@ class ReactResizeObserver extends React.Component<ResizeObserverProps, {}> {
}
render() {
const { children } = this.props;
const { children = null } = this.props;
return children;
}
}

Loading…
Cancel
Save