Skip to content

Commit 5e57140

Browse files
committed
fix bug
1 parent d6c9070 commit 5e57140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/lib/createArComponent.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ export default (Manager, propTypes = {}) => {
1616
});
1717
}
1818

19-
componentWillUpdate() {
19+
componentWillUpdate(props) {
2020
Manager.mount({
2121
id: this.identifier,
22-
...parseColorInProps(this.props),
22+
...parseColorInProps(props),
2323
});
2424
}
2525

0 commit comments

Comments
 (0)