Browse Source

fix async method (#4605)

Feroze Mohideen 2 năm trước cách đây
mục cha
commit
9c32e7a43d

+ 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,