refactor: biome lint

This commit is contained in:
Mauricio Siu
2024-09-01 23:59:48 -06:00
parent a9fa017252
commit 8b2fd07a27
2 changed files with 9 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
dockerContextPath:
data.buildType === "dockerfile" ? data.dockerContextPath : null,
dockerBuildStage:
data.buildType === "dockerfile" ? data.dockerBuildStage : null,
data.buildType === "dockerfile" ? data.dockerBuildStage : null,
})
.then(async () => {
toast.success("Build type saved");
@@ -255,22 +255,20 @@ export const ShowBuildChooseForm = ({ applicationId }: Props) => {
<div className="space-y-0.5">
<FormLabel>Docker Build Stage</FormLabel>
<FormDescription>
Allows you to target a specific stage in a Multi-stage
Dockerfile. If empty, Docker defaults to build
the last defined stage.
Allows you to target a specific stage in a
Multi-stage Dockerfile. If empty, Docker defaults to
build the last defined stage.
</FormDescription>
</div>
<FormControl>
<Input
placeholder={
"E.g. production"
}
placeholder={"E.g. production"}
{...field}
value={field.value ?? ""}
/>
</FormControl>
</FormItem>
)
);
}}
/>
</>