diff --git a/packages/example-pages/pages/index.tsx b/packages/example-pages/pages/index.tsx index 25fb6016..4ae716ed 100644 --- a/packages/example-pages/pages/index.tsx +++ b/packages/example-pages/pages/index.tsx @@ -7,13 +7,6 @@ export function Index() { const loginWithRedirect = useLoginWithRedirect(); const [state, setState] = useState({ userAgent: '', id: -1 }); const logoutHosted = useLogoutHostedLogin(); - const { switchTenant } = useAuthActions(); - const handleTenantSwitch = () => { - switchTenant({ - tenantId: user?.tenantId === 'sso_per_tenant_1' ? 'a4700c12-4119-4add-a7f0-00d31ea279da' : 'sso_per_tenant_1', - }); - }; - console.log('user', user); /* * Replace the elements below with your own. @@ -28,16 +21,6 @@ export function Index() {
{isAuthenticated ? user?.email : 'not logged in'}


- -
-