@xylabs/sdk-react 2.10.4 → 2.10.5

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.
@@ -290,7 +290,7 @@ const getApiStage = () => {
290
290
  return sdkJs.getApiStage(document.location.hostname);
291
291
  };
292
292
 
293
- const isLocalhost = !!(window.location.hostname === 'localhost' ||
293
+ const isLocalhost = () => !!(window.location.hostname === 'localhost' ||
294
294
  // [::1] is the IPv6 localhost address.
295
295
  window.location.hostname === '[::1]' ||
296
296
  // 127.0.0.0/8 are considered localhost for IPv4.