Explorar o código

omit unsed argument e

yohei0125 %!s(int64=4) %!d(string=hai) anos
pai
achega
a10ace9415
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/components/Sidebar/PageTree/Item.tsx

+ 1 - 1
packages/app/src/components/Sidebar/PageTree/Item.tsx

@@ -386,7 +386,7 @@ const Item: FC<ItemProps> = (props: ItemProps) => {
 
       toastSuccess(t('page_operation.paths_recovered'));
     }
-    catch (e) {
+    catch {
       toastError(t('page_operation.path_recovery_failed'));
     }
   };