diff --git a/plugins/woocommerce/client/legacy/js/frontend/geolocation.js b/plugins/woocommerce/client/legacy/js/frontend/geolocation.js index 7c3433f1a9c..4f239391548 100644 --- a/plugins/woocommerce/client/legacy/js/frontend/geolocation.js +++ b/plugins/woocommerce/client/legacy/js/frontend/geolocation.js @@ -84,7 +84,7 @@ jQuery( function( $ ) { Cookies.set( 'woocommerce_geo_hash', hash, { expires: 1 / 24 } ); const urlQuery = new URL( window.location ).searchParams; - const existingHash = urlQuery.get( 'v' ) + const existingHash = urlQuery.get( 'v' ); // If the current URL does not contain the expected hash, redirect. if ( existingHash !== hash ) {