Skip to content

Commit e2be267

Browse files
committed
Formatting
1 parent 99468f2 commit e2be267

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages-exp/auth-exp/demo/src/index.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -381,16 +381,17 @@ function onSignInWithCustomToken(event) {
381381
// The token can be directly specified on the html element.
382382
var token = $('#user-custom-token').val();
383383

384-
signInWithCustomToken(auth, token)
385-
.then(onAuthUserCredentialSuccess, onAuthError);
384+
signInWithCustomToken(auth, token).then(
385+
onAuthUserCredentialSuccess,
386+
onAuthError
387+
);
386388
}
387389

388390
/**
389391
* Signs in anonymously.
390392
*/
391393
function onSignInAnonymously() {
392-
signInAnonymously(auth)
393-
.then(onAuthUserCredentialSuccess, onAuthError);
394+
signInAnonymously(auth).then(onAuthUserCredentialSuccess, onAuthError);
394395
}
395396

396397
/**

0 commit comments

Comments
 (0)