ui-kit-ck-consultant 0.5.185 → 0.5.186

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
@@ -3682,7 +3682,7 @@ var Cookie = /*#__PURE__*/function (_React$Component) {
3682
3682
  var _proto = Cookie.prototype;
3683
3683
 
3684
3684
  _proto.componentDidMount = function componentDidMount() {
3685
- if (this.props.force || this.cookies.get(this.props.name + "-cookies") !== '1') {
3685
+ if (this.props.force || this.cookies.get(this.props.name + "-cookies") !== '1' && this.cookies.get(this.props.name + "-cookies") !== '2') {
3686
3686
  this.setState({
3687
3687
  show: true
3688
3688
  });
@@ -3695,7 +3695,7 @@ var Cookie = /*#__PURE__*/function (_React$Component) {
3695
3695
 
3696
3696
  _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
3697
3697
  if (prevProps.force !== this.props.force || prevProps.name !== this.props.name) {
3698
- if (this.cookies.get(this.props.name + "-cookies") !== '1') {
3698
+ if (this.cookies.get(this.props.name + "-cookies") !== '1' && this.cookies.get(this.props.name + "-cookies") !== '2') {
3699
3699
  this.setState({
3700
3700
  show: true
3701
3701
  });