fix(docker): removed docker.sock code in docker API [EE-3612] (#7586)

pull/7601/head
fhanportainer 2022-08-31 20:32:01 +12:00 committed by GitHub
parent 2f0dbf2ae1
commit eb5036b96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 8 deletions

View File

@ -1,7 +1,6 @@
import { Environment } from '@/portainer/environments/types';
import { APIForm } from './APIForm';
import { DeploymentScripts } from './DeploymentScripts';
interface Props {
onCreate(environment: Environment): void;
@ -9,12 +8,8 @@ interface Props {
export function APITab({ onCreate }: Props) {
return (
<>
<DeploymentScripts />
<div className="mt-5">
<APIForm onCreate={onCreate} />
</div>
</>
<div className="mt-5">
<APIForm onCreate={onCreate} />
</div>
);
}