diff --git a/src/modules/apps/components/AdvancedTab/AdvancedTab.tsx b/src/modules/apps/components/AdvancedTab/AdvancedTab.tsx index b3fb2f6..d538172 100644 --- a/src/modules/apps/components/AdvancedTab/AdvancedTab.tsx +++ b/src/modules/apps/components/AdvancedTab/AdvancedTab.tsx @@ -7,7 +7,7 @@ import 'prismjs/components/prism-clike'; import 'prismjs/components/prism-yaml'; import 'prismjs/themes/prism.css'; import { initialEditorYaml } from '../../consts'; -import { Secrets } from './components'; +// import { Secrets } from './components'; function classNames(...classes: any) { return classes.filter(Boolean).join(' '); @@ -158,7 +158,7 @@ search: - + {/* */} ); }; diff --git a/src/modules/apps/components/GeneralTab/GeneralTab.tsx b/src/modules/apps/components/GeneralTab/GeneralTab.tsx index 5211a7f..2d7a8ec 100644 --- a/src/modules/apps/components/GeneralTab/GeneralTab.tsx +++ b/src/modules/apps/components/GeneralTab/GeneralTab.tsx @@ -1,5 +1,5 @@ import _ from 'lodash'; -import React, { useEffect, useRef } from 'react'; +import React, { useEffect } from 'react'; import { SubmitHandler, useForm } from 'react-hook-form'; import { Switch } from 'src/components/Form'; import { App, useApps } from 'src/services/apps'; diff --git a/src/services/apps/redux/actions.ts b/src/services/apps/redux/actions.ts index 17b8f2c..09ebe36 100644 --- a/src/services/apps/redux/actions.ts +++ b/src/services/apps/redux/actions.ts @@ -124,7 +124,7 @@ export const deleteApp = (appData: any) => async (dispatch: Dispatch) => { dispatch(setAppLoading(true)); try { - const { data } = await performApiCall({ + await performApiCall({ path: `/apps/${appData.slug}`, method: 'DELETE', body: { remove_app_data: appData.removeAppData },