Skip to content

Commit 1ccef8c

Browse files
Remove object.assign from library
1 parent e11c4e5 commit 1ccef8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/utilities/dialog/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ const Dialog = createReactClass({
400400
}
401401

402402
if (this.props.style) {
403-
style = Object.assign(style, this.props.style);
403+
style = { ...style, ...this.props.style };
404404
}
405405

406406
const contents = (

0 commit comments

Comments
 (0)