fix warnings
This commit is contained in:
parent
97aa678830
commit
198e926b4e
3 changed files with 4 additions and 4 deletions
|
@ -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:
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<Secrets />
|
||||
{/* <Secrets /> */}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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';
|
||||
|
|
|
@ -124,7 +124,7 @@ export const deleteApp = (appData: any) => async (dispatch: Dispatch<any>) => {
|
|||
dispatch(setAppLoading(true));
|
||||
|
||||
try {
|
||||
const { data } = await performApiCall({
|
||||
await performApiCall({
|
||||
path: `/apps/${appData.slug}`,
|
||||
method: 'DELETE',
|
||||
body: { remove_app_data: appData.removeAppData },
|
||||
|
|
Loading…
Reference in a new issue