Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit c2f3d48

Browse files
committed
removed optional chaining in if check
1 parent 02d28ff commit c2f3d48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/integrations/GoogleDrive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ class GoogleDriveUtil {
5858
.then(
5959
() => {
6060
this.auth = gapi?.auth2?.getAuthInstance?.();
61-
if (this?.auth) {
61+
if (this.auth) {
6262
this.auth.isSignedIn.listen(isLoggedIn => this.updateLoginStatus(isLoggedIn));
6363
this.updateLoginStatus(this.auth.isSignedIn.get());
6464
globalObserver.emit('googledrive.initialized', true);
65-
65+
6666
$('#integrations').removeClass('invisible');
6767
$('#save-google-drive')
6868
.parent()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy