optional chaining

This commit is contained in:
Miodec 2022-09-27 22:27:18 +02:00
parent 7ebab0cf16
commit 44e675bc77

View file

@ -656,7 +656,7 @@ list["deleteAccount"] = new SimplePopup(
}
Notifications.add("Deleting login information...", 0);
await Auth.currentUser?.delete();
await Auth?.currentUser?.delete();
Notifications.add("Goodbye", 1, 5);