Browse Source

fix: ignore lgtm rule (#21580)

* fix lgtm

* Update index.tsx
pull/21589/head
偏右 5 years ago
committed by GitHub
parent
commit
bc8bc190ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/notification/index.tsx

2
components/notification/index.tsx

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

Loading…
Cancel
Save