tabexseriescomponents 0.2.892 → 0.2.893

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.cjs.js CHANGED
@@ -80433,13 +80433,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
80433
80433
  React.useEffect(function () {
80434
80434
  setitem(props.cardinfoitemprops);
80435
80435
  }, [props.cardinfoitemprops]);
80436
- // useEffect(() => {
80437
- // if (item.quantity == 0) {
80438
- // setshowquantity(false);
80439
- // } else {
80440
- // setshowquantity(true);
80441
- // }
80442
- // }, [props.cardinfoitemprops]);
80436
+ React.useEffect(function () {
80437
+ if (item.quantity == 0) {
80438
+ setshowquantity(false);
80439
+ } else {
80440
+ setshowquantity(true);
80441
+ }
80442
+ }, [props.cardinfoitemprops]);
80443
80443
  React.useEffect(function () {
80444
80444
  var productImagetoBeSelected = '';
80445
80445
  var Tempitem = _objectSpread$6({}, item);
package/dist/index.esm.js CHANGED
@@ -80386,13 +80386,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
80386
80386
  useEffect(function () {
80387
80387
  setitem(props.cardinfoitemprops);
80388
80388
  }, [props.cardinfoitemprops]);
80389
- // useEffect(() => {
80390
- // if (item.quantity == 0) {
80391
- // setshowquantity(false);
80392
- // } else {
80393
- // setshowquantity(true);
80394
- // }
80395
- // }, [props.cardinfoitemprops]);
80389
+ useEffect(function () {
80390
+ if (item.quantity == 0) {
80391
+ setshowquantity(false);
80392
+ } else {
80393
+ setshowquantity(true);
80394
+ }
80395
+ }, [props.cardinfoitemprops]);
80396
80396
  useEffect(function () {
80397
80397
  var productImagetoBeSelected = '';
80398
80398
  var Tempitem = _objectSpread$6({}, item);
package/dist/index.umd.js CHANGED
@@ -80243,13 +80243,13 @@
80243
80243
  React.useEffect(function () {
80244
80244
  setitem(props.cardinfoitemprops);
80245
80245
  }, [props.cardinfoitemprops]);
80246
- // useEffect(() => {
80247
- // if (item.quantity == 0) {
80248
- // setshowquantity(false);
80249
- // } else {
80250
- // setshowquantity(true);
80251
- // }
80252
- // }, [props.cardinfoitemprops]);
80246
+ React.useEffect(function () {
80247
+ if (item.quantity == 0) {
80248
+ setshowquantity(false);
80249
+ } else {
80250
+ setshowquantity(true);
80251
+ }
80252
+ }, [props.cardinfoitemprops]);
80253
80253
  React.useEffect(function () {
80254
80254
  var productImagetoBeSelected = '';
80255
80255
  var Tempitem = _objectSpread$6({}, item);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabexseriescomponents",
3
- "version": "0.2.892",
3
+ "version": "0.2.893",
4
4
  "type": "module",
5
5
  "description": "your description",
6
6
  "main": "dist/index.cjs.js",