Turn off the accepted rules and fix the design tokens, alt text, and last type errors. [skip build]
This commit is contained in:
@@ -34,10 +34,7 @@ export function SSOLogin({ providers, redirectUrl, action, saveScreenSpace }: SS
|
||||
}
|
||||
|
||||
try {
|
||||
const existingDeviceId = localStorage.getItem('cinny_device_id') ?? undefined;
|
||||
await openExternalUrl(
|
||||
mx.getSsoLoginUrl(redirectUrl, 'sso', providerId, action, existingDeviceId),
|
||||
);
|
||||
await openExternalUrl(mx.getSsoLoginUrl(redirectUrl, 'sso', providerId, action));
|
||||
} finally {
|
||||
setLaunchingProviderId(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user