fix warnings

This commit is contained in:
Davor 2022-08-02 23:47:28 +02:00
parent 97aa678830
commit 198e926b4e
3 changed files with 4 additions and 4 deletions

View file

@ -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 /> */}
</>
);
};

View file

@ -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';

View file

@ -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 },