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