@tmlmobilidade/ui 20250305.1816.36 → 20250305.1841.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.
package/dist/esm/index.js CHANGED
@@ -1548,7 +1548,7 @@ function useIsActiveDomain(domain) {
1548
1548
  useEffect(() => {
1549
1549
  const handleRouteChange = () => {
1550
1550
  const currentDomain = window.location.hostname;
1551
- if (domain === currentDomain) {
1551
+ if (domain.includes(currentDomain)) {
1552
1552
  setIsActive(true);
1553
1553
  }
1554
1554
  else {