mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
use arrow function
This commit is contained in:
@@ -382,7 +382,7 @@ export class AccountsClient extends AccountsCommon {
|
||||
this.makeClientLoggedIn(result.id, result.token, result.tokenExpires);
|
||||
|
||||
// use Tracker to make we sure have a user before calling the callbacks
|
||||
Tracker.autorun(async function (computation) {
|
||||
Tracker.autorun(async (computation) => {
|
||||
const user = await Tracker.withComputation(computation, () =>
|
||||
Meteor.userAsync(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user