فهرست منبع

fix async method (#4605)

Feroze Mohideen 2 سال پیش
والد
کامیت
9c32e7a43d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dashboard/src/main/home/add-on-dashboard/common/Settings.tsx

+ 1 - 1
dashboard/src/main/home/add-on-dashboard/common/Settings.tsx

@@ -43,7 +43,7 @@ const Settings: React.FC = () => {
     }
   };
 
-  const handleDeletionClick = async (): Promise<void> => {
+  const handleDeletionClick = (): void => {
     setCurrentOverlay({
       message: `Are you sure you want to delete ${addon.name.value}?`,
       onYes: handleDeletionSubmit,