jam411 3 ani în urmă
părinte
comite
c5329f2820

+ 0 - 1
packages/app/package.json

@@ -187,7 +187,6 @@
     "sticky-events": "^3.4.11",
     "stream-to-promise": "^3.0.0",
     "string-width": "=4.2.2",
-    "superagent": "^8.0.6",
     "superjson": "^1.9.1",
     "swagger-jsdoc": "^6.1.0",
     "swig-templates": "^2.0.2",

+ 0 - 3
packages/app/src/components/Admin/PluginsExtension/PluginInstallerForm.tsx

@@ -2,11 +2,8 @@ import React, { useCallback } from 'react';
 
 import { toastSuccess, toastError } from '~/client/util/apiNotification';
 import { apiv3Post } from '~/client/util/apiv3-client';
-// import { toastError, toastSuccess } from '~/client/util/toastr';
 import { useSWRxPlugins } from '~/stores/plugin';
 
-// TODO: error notification (toast, loggerFactory)
-// TODO: i18n
 export const PluginInstallerForm = (): JSX.Element => {
   const { mutate } = useSWRxPlugins();
 

+ 0 - 1
packages/app/src/server/service/plugin.ts

@@ -46,7 +46,6 @@ export class PluginService {
     const plugins = await PluginService.detectPlugins(origin, installedPath);
     await this.savePluginMetaData(plugins);
 
-
     return;
   }