tabexseriescomponents 0.0.575 → 0.0.577
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 +17 -0
- package/dist/index.esm.js +17 -0
- package/dist/index.umd.js +17 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -14783,6 +14783,18 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
14783
14783
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
14784
14784
|
_useState8[0];
|
|
14785
14785
|
var setCurrentPageId = _useState8[1];
|
|
14786
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
14787
|
+
// useEffect(() => {
|
|
14788
|
+
// const query = new URLSearchParams(uselocation.search);
|
|
14789
|
+
// var issuccess = query.get('status');
|
|
14790
|
+
// if (issuccess == true || issuccess == 1 || issuccess == 'true') {
|
|
14791
|
+
// if (fetchcustomercartQueryContext.isSuccess) {
|
|
14792
|
+
// setTimeout(() => {
|
|
14793
|
+
// localStorage.removeItem('cdata');
|
|
14794
|
+
// }, 1000);
|
|
14795
|
+
// }
|
|
14796
|
+
// }
|
|
14797
|
+
// }, [fetchcustomercartQueryContext.isSuccess]);
|
|
14786
14798
|
React.useEffect(function () {
|
|
14787
14799
|
var query = new URLSearchParams(uselocation.search);
|
|
14788
14800
|
var issuccess = query.get('status');
|
|
@@ -14790,6 +14802,11 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
14790
14802
|
if (fetchcustomercartQueryContext.isSuccess) {
|
|
14791
14803
|
setTimeout(function () {
|
|
14792
14804
|
localStorage.removeItem('cdata');
|
|
14805
|
+
AddtoCartMutationContext.mutate({
|
|
14806
|
+
functype: 'clearcart',
|
|
14807
|
+
reloadpage: false,
|
|
14808
|
+
openproductmodal: false
|
|
14809
|
+
});
|
|
14793
14810
|
}, 1000);
|
|
14794
14811
|
}
|
|
14795
14812
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -14734,6 +14734,18 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
14734
14734
|
_useState8 = _slicedToArray(_useState7, 2);
|
|
14735
14735
|
_useState8[0];
|
|
14736
14736
|
var setCurrentPageId = _useState8[1];
|
|
14737
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
14738
|
+
// useEffect(() => {
|
|
14739
|
+
// const query = new URLSearchParams(uselocation.search);
|
|
14740
|
+
// var issuccess = query.get('status');
|
|
14741
|
+
// if (issuccess == true || issuccess == 1 || issuccess == 'true') {
|
|
14742
|
+
// if (fetchcustomercartQueryContext.isSuccess) {
|
|
14743
|
+
// setTimeout(() => {
|
|
14744
|
+
// localStorage.removeItem('cdata');
|
|
14745
|
+
// }, 1000);
|
|
14746
|
+
// }
|
|
14747
|
+
// }
|
|
14748
|
+
// }, [fetchcustomercartQueryContext.isSuccess]);
|
|
14737
14749
|
useEffect(function () {
|
|
14738
14750
|
var query = new URLSearchParams(uselocation.search);
|
|
14739
14751
|
var issuccess = query.get('status');
|
|
@@ -14741,6 +14753,11 @@ var OrderSuccess = function OrderSuccess(props) {
|
|
|
14741
14753
|
if (fetchcustomercartQueryContext.isSuccess) {
|
|
14742
14754
|
setTimeout(function () {
|
|
14743
14755
|
localStorage.removeItem('cdata');
|
|
14756
|
+
AddtoCartMutationContext.mutate({
|
|
14757
|
+
functype: 'clearcart',
|
|
14758
|
+
reloadpage: false,
|
|
14759
|
+
openproductmodal: false
|
|
14760
|
+
});
|
|
14744
14761
|
}, 1000);
|
|
14745
14762
|
}
|
|
14746
14763
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -14607,6 +14607,18 @@
|
|
|
14607
14607
|
_useState8 = _slicedToArray__default["default"](_useState7, 2);
|
|
14608
14608
|
_useState8[0];
|
|
14609
14609
|
var setCurrentPageId = _useState8[1];
|
|
14610
|
+
var AddtoCartMutationContext = props.actions.AddtoCartMutationContext;
|
|
14611
|
+
// useEffect(() => {
|
|
14612
|
+
// const query = new URLSearchParams(uselocation.search);
|
|
14613
|
+
// var issuccess = query.get('status');
|
|
14614
|
+
// if (issuccess == true || issuccess == 1 || issuccess == 'true') {
|
|
14615
|
+
// if (fetchcustomercartQueryContext.isSuccess) {
|
|
14616
|
+
// setTimeout(() => {
|
|
14617
|
+
// localStorage.removeItem('cdata');
|
|
14618
|
+
// }, 1000);
|
|
14619
|
+
// }
|
|
14620
|
+
// }
|
|
14621
|
+
// }, [fetchcustomercartQueryContext.isSuccess]);
|
|
14610
14622
|
React.useEffect(function () {
|
|
14611
14623
|
var query = new URLSearchParams(uselocation.search);
|
|
14612
14624
|
var issuccess = query.get('status');
|
|
@@ -14614,6 +14626,11 @@
|
|
|
14614
14626
|
if (fetchcustomercartQueryContext.isSuccess) {
|
|
14615
14627
|
setTimeout(function () {
|
|
14616
14628
|
localStorage.removeItem('cdata');
|
|
14629
|
+
AddtoCartMutationContext.mutate({
|
|
14630
|
+
functype: 'clearcart',
|
|
14631
|
+
reloadpage: false,
|
|
14632
|
+
openproductmodal: false
|
|
14633
|
+
});
|
|
14617
14634
|
}, 1000);
|
|
14618
14635
|
}
|
|
14619
14636
|
}
|