This commit is contained in:
denihs
2024-02-23 15:44:42 -04:00
parent 85a40c0d1f
commit 67ccd8964f

View File

@@ -366,7 +366,7 @@ export class AccountsClient extends AccountsCommon {
// Make the client logged in. (The user data should already be loaded!)
this.makeClientLoggedIn(result.id, result.token, result.tokenExpires);
// use Tracker to make we have a user before calling the callbacks
// use Tracker to make we sure have a user before calling the callbacks
Tracker.autorun(async function (computation) {
const user = await Tracker.withComputation(computation, () =>
Meteor.userAsync(),