Skip to content

Commit db0a94b

Browse files
author
Ryan Barry
committed
Prefers Object.assign over React.__spread
1 parent 2809c2c commit db0a94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react-inline-css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @copyright © 2015, Rick Wong. All rights reserved.
33
*/
44
var React = require("react");
5-
var assign = React.__spread;
5+
var assign = Object.assign ? Object.assign : React.__spread;
66
var refCounter = 0;
77

88
/**

0 commit comments

Comments
 (0)