mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-11 13:57:28 +08:00
optional chaining
This commit is contained in:
parent
a2c5da89c5
commit
a3f2ba8a9e
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ const commands: MonkeyTypes.Command[] = [
|
|||
update();
|
||||
},
|
||||
available: (): boolean => {
|
||||
return !!Auth.currentUser;
|
||||
return !!Auth?.currentUser;
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue