From d3f0bf654bf0995ac1a43d5e610bb68746ff106d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 09:16:49 +0000 Subject: [PATCH] Fix TypeScript type annotations in health check form Co-authored-by: Siumauricio <47042324+Siumauricio@users.noreply.github.com> --- .../advanced/cluster/swarm-forms/health-check-form.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/health-check-form.tsx b/apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/health-check-form.tsx index 54ec0b242..1e0d032f0 100644 --- a/apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/health-check-form.tsx +++ b/apps/dokploy/components/dashboard/application/advanced/cluster/swarm-forms/health-check-form.tsx @@ -129,7 +129,7 @@ export const HealthCheckForm = ({ id, type }: HealthCheckFormProps) => { const removeTestCommand = (index: number) => { form.setValue( "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"])
- {testCommands.map((cmd, index) => ( + {testCommands.map((cmd: string, index: number) => (