fix: ignore lgtm rule (#21580)

* fix lgtm

* Update index.tsx
This commit is contained in:
偏右 2020-02-25 18:36:18 +08:00 committed by GitHub
parent 1f75773bf1
commit bc8bc190ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -229,7 +229,7 @@ const api: any = {
Promise.resolve(notificationInstance[cacheKey]).then(instance => {
instance.destroy();
});
delete notificationInstance[cacheKey];
delete notificationInstance[cacheKey]; // lgtm[js/missing-await]
});
},
};