ui-kit-ck-consultant 0.5.152 → 0.5.153

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3785,6 +3785,20 @@ var Switch = /*#__PURE__*/function (_React$Component) {
3785
3785
 
3786
3786
  var _proto = Switch.prototype;
3787
3787
 
3788
+ _proto.componentDidMount = function componentDidMount() {
3789
+ this.setState({
3790
+ idxActive: this.props.idxActive
3791
+ });
3792
+ };
3793
+
3794
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
3795
+ if (prevProps.idxActive !== this.props.prevProps && this.props.idxActive !== this.state.prevProps) {
3796
+ this.setState({
3797
+ idxActive: this.props.idxActive
3798
+ });
3799
+ }
3800
+ };
3801
+
3788
3802
  _proto.render = function render() {
3789
3803
  var _this2 = this;
3790
3804