From ca15417817487360806dec26281e2727d82dc3fe Mon Sep 17 00:00:00 2001 From: Feroze Mohideen Date: Mon, 6 May 2024 10:43:46 -0400 Subject: [PATCH] fix async method --- dashboard/src/main/home/add-on-dashboard/common/Settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/main/home/add-on-dashboard/common/Settings.tsx b/dashboard/src/main/home/add-on-dashboard/common/Settings.tsx index 753bbda9f9..b4cf1c8d6c 100644 --- a/dashboard/src/main/home/add-on-dashboard/common/Settings.tsx +++ b/dashboard/src/main/home/add-on-dashboard/common/Settings.tsx @@ -43,7 +43,7 @@ const Settings: React.FC = () => { } }; - const handleDeletionClick = async (): Promise => { + const handleDeletionClick = (): void => { setCurrentOverlay({ message: `Are you sure you want to delete ${addon.name.value}?`, onYes: handleDeletionSubmit,