UPDATED renderChildren to return this.props.children instead of null

This commit is contained in:
Jason Brown 2018-05-09 11:27:50 +01:00
parent 3ce3c80db6
commit 9472f55068

View File

@ -338,7 +338,7 @@ export default class Camera extends React.Component<PropsType, StateType> {
if (this.hasFaCC()) {
return this.props.children({ camera: this, status: this.getStatus() });
}
return null;
return this.props.children;
};
render() {