mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-16 00:45:18 +00:00
Fix TypeScript type annotations in health check form
Co-authored-by: Siumauricio <[email protected]>
This commit is contained in:
co-authored by
Siumauricio
parent
9e8dacfe06
commit
d3f0bf654b
+2
-2
@@ -129,7 +129,7 @@ export const HealthCheckForm = ({ id, type }: HealthCheckFormProps) => {
|
|||||||
const removeTestCommand = (index: number) => {
|
const removeTestCommand = (index: number) => {
|
||||||
form.setValue(
|
form.setValue(
|
||||||
"Test",
|
"Test",
|
||||||
testCommands.filter((_, i) => i !== index),
|
testCommands.filter((_: string, i: number) => i !== index),
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@ export const HealthCheckForm = ({ id, type }: HealthCheckFormProps) => {
|
|||||||
http://localhost:3000/health"])
|
http://localhost:3000/health"])
|
||||||
</FormDescription>
|
</FormDescription>
|
||||||
<div className="space-y-2 mt-2">
|
<div className="space-y-2 mt-2">
|
||||||
{testCommands.map((cmd, index) => (
|
{testCommands.map((cmd: string, index: number) => (
|
||||||
<div key={index} className="flex gap-2">
|
<div key={index} className="flex gap-2">
|
||||||
<Input
|
<Input
|
||||||
value={cmd}
|
value={cmd}
|
||||||
|
|||||||
Reference in New Issue
Block a user