@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/cjs/index.js CHANGED
@@ -1565,7 +1565,7 @@ function useIsActiveDomain(domain) {
1565
1565
  React.useEffect(() => {
1566
1566
  const handleRouteChange = () => {
1567
1567
  const currentDomain = window.location.hostname;
1568
- if (domain === currentDomain) {
1568
+ if (domain.includes(currentDomain)) {
1569
1569
  setIsActive(true);
1570
1570
  }
1571
1571
  else {