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.
package/dist/index.js CHANGED
@@ -3788,6 +3788,20 @@ var Switch = /*#__PURE__*/function (_React$Component) {
3788
3788
 
3789
3789
  var _proto = Switch.prototype;
3790
3790
 
3791
+ _proto.componentDidMount = function componentDidMount() {
3792
+ this.setState({
3793
+ idxActive: this.props.idxActive
3794
+ });
3795
+ };
3796
+
3797
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
3798
+ if (prevProps.idxActive !== this.props.prevProps && this.props.idxActive !== this.state.prevProps) {
3799
+ this.setState({
3800
+ idxActive: this.props.idxActive
3801
+ });
3802
+ }
3803
+ };
3804
+
3791
3805
  _proto.render = function render() {
3792
3806
  var _this2 = this;
3793
3807