mirror of https://github.com/portainer/portainer
fix(docker): removed docker.sock code in docker API [EE-3612] (#7586)
parent
2f0dbf2ae1
commit
eb5036b96f
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue