Skip to content

Commit 8f63fcb

Browse files
committed
fixing formatting errors
1 parent 24e1b36 commit 8f63fcb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/auth/demo/src/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ function onUseDeviceLanguage() {
317317
/**
318318
* Set tenant id for the firebase project.
319319
*/
320-
function onSetTenantIdClick(_event) {
320+
function onSetTenantIdClick(_event) {
321321
console.log('onSetTenant called');
322322
const tenantId = $('#set-tenant').val();
323-
auth.tenantId = tenantId === "" ? null : tenantId;
323+
auth.tenantId = tenantId === '' ? null : tenantId;
324324
alertSuccess('Tenant Id : ' + auth.tenantId);
325325
}
326326
/**
@@ -2040,6 +2040,7 @@ function initApp() {
20402040
$('#enroll-mfa-totp-start').click(onStartEnrollWithTotpMultiFactor);
20412041
// Completes multi-factor enrollment with supplied OTP(One-Time Password).
20422042
$('#enroll-mfa-totp-finalize').click(onFinalizeEnrollWithTotpMultiFactor);
2043+
// Sets tenant for the current auth instance
20432044
$('#set-tenant-btn').click(onSetTenantIdClick);
20442045
}
20452046

0 commit comments

Comments
 (0)