From bc8bc190ea673ebae6b8986d3545eadeef20e82a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Tue, 25 Feb 2020 18:36:18 +0800 Subject: [PATCH] fix: ignore lgtm rule (#21580) * fix lgtm * Update index.tsx --- components/notification/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/notification/index.tsx b/components/notification/index.tsx index 551e2a3121..1831726ebe 100755 --- a/components/notification/index.tsx +++ b/components/notification/index.tsx @@ -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] }); }, };