tf-checkout-react 1.3.50-beta.2 → 1.3.50-beta.3

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.
@@ -7617,9 +7617,12 @@ var IDVerification = function IDVerification(props) {
7617
7617
  var isWindowDefined = typeof window !== 'undefined';
7618
7618
  var orderHash = getQueryVariable('order_hash');
7619
7619
  if (isWindowDefined) {
7620
- window.localStorage.setItem('checkoutData', JSON.stringify({
7621
- hash: orderHash
7622
- }));
7620
+ var checkoutData = JSON.parse(window.localStorage.getItem('checkoutData') || '{}');
7621
+ if (_isEmpty(checkoutData) && orderHash) {
7622
+ window.localStorage.setItem('checkoutData', JSON.stringify({
7623
+ hash: orderHash
7624
+ }));
7625
+ }
7623
7626
  }
7624
7627
  }, []);
7625
7628
  return React__default.createElement("div", null, React__default.createElement("h2", {