Apply strictNullChecks to src/components/auth/* (#10484

* Apply `strictNullChecks` to `src/components/auth/*`

* fix

* strict types
This commit is contained in:
Michael Telatynski
2023-03-31 09:26:15 +01:00
committed by GitHub
parent af151700c9
commit f152613f83
8 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ export function attemptTokenLogin(
}
const homeserver = localStorage.getItem(SSO_HOMESERVER_URL_KEY);
const identityServer = localStorage.getItem(SSO_ID_SERVER_URL_KEY);
const identityServer = localStorage.getItem(SSO_ID_SERVER_URL_KEY) ?? undefined;
if (!homeserver) {
logger.warn("Cannot log in with token: can't determine HS URL to use");
Modal.createDialog(ErrorDialog, {