Skip to content
This repository was archived by the owner on Aug 3, 2022. It is now read-only.

Commit e63607d

Browse files
committed
Recompile JS
1 parent 211fd87 commit e63607d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dist/js/react-bootstrap-switch.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
indeterminate: this._prop('indeterminate')
4848
};
4949
},
50+
componentWillReceiveProps: function(nextProps) {
51+
return this.value(nextProps.state);
52+
},
5053
_prop: function(key) {
5154
if (typeof this.props[key] === 'undefined') {
5255
return this.defaults[key];

dist/js/react-bootstrap-switch.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)