File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ function create($container, $toggler) {
489489 $el . show = show ;
490490 $el . hide = hide ;
491491 $el . toggle = toggle ;
492- $el . onshow = ( ) => { } ;
492+ $el . onshow = ( ) => { } ;
493493 $el . getWidth = function ( ) {
494494 const width = innerWidth * 0.7 ;
495495 return mode === "phone" ? ( width >= 350 ? 350 : width ) : MIN_WIDTH ;
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ class AuthService {
7474 await this . _exec ( "isLoggedIn" ) ;
7575 return true ;
7676 } catch ( error ) {
77+ console . error ( error ) ;
7778 // error is typically the status code (0 if no token, 401 if invalid)
7879 return false ;
7980 }
@@ -92,7 +93,6 @@ class AuthService {
9293 async getAvatar ( ) {
9394 try {
9495 const userData = await this . getUserInfo ( ) ;
95- console . log ( userData ) ;
9696 if ( ! userData ) return null ;
9797
9898 if ( userData . github ) {
You can’t perform that action at this time.
0 commit comments