Remove Object.assign
parent
957731710a
commit
daf9022dec
|
@ -206,12 +206,7 @@ class CheckSources extends Component<Props, State> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
this.props.children &&
|
this.props.children &&
|
||||||
React.cloneElement(
|
React.cloneElement(this.props.children, {...this.props, source})
|
||||||
this.props.children,
|
|
||||||
Object.assign({}, this.props, {
|
|
||||||
source,
|
|
||||||
})
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue