@riligar/auth-react 1.20.2 → 1.20.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.
package/dist/index.js CHANGED
@@ -941,8 +941,6 @@ function AuthProvider({
941
941
  });
942
942
  // Dispara evento de logout para sincronizar entre abas
943
943
  localStorage.setItem('auth:logout', Date.now());
944
- // Recarrega para redirecionar - deixa o Protect/rotas decidirem para onde ir
945
- window.location.reload();
946
944
  };
947
945
  window.addEventListener('storage', handleStorageChange);
948
946
  window.addEventListener('auth:session-revoked', handleSessionRevoked);