mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 13:29:23 +00:00
Apply strictNullChecks around the codebase (#10302
* Apply `strictNullChecks` around the codebase * Iterate PR
This commit is contained in:
committed by
GitHub
parent
7c2bb966d0
commit
4b8bada24b
+1
-1
@@ -201,7 +201,7 @@ export async function dialogTermsInteractionCallback(
|
||||
);
|
||||
|
||||
const [done, _agreedUrls] = await finished;
|
||||
if (!done) {
|
||||
if (!done || !_agreedUrls) {
|
||||
throw new TermsNotSignedError();
|
||||
}
|
||||
return _agreedUrls;
|
||||
|
||||
Reference in New Issue
Block a user