summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
index bda999b..ffca77d 100644
--- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
+++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
@@ -22,7 +22,7 @@ export async function browserSupportsWebAuthnAutofill(): Promise<boolean> {
window.PublicKeyCredential as unknown as PublicKeyCredentialFuture;
return (
- globalPublicKeyCredential.isConditionalMediationAvailable &&
+ globalPublicKeyCredential.isConditionalMediationAvailable !== undefined &&
globalPublicKeyCredential.isConditionalMediationAvailable()
);
}