From 4e7378371d067b9774967ce526511e80e516a9c0 Mon Sep 17 00:00:00 2001 From: Leonhard Breuer Date: Fri, 15 Aug 2025 19:52:55 +0200 Subject: [PATCH] fix(template): make every key in map unique using index FIXES #2382 --- apps/dokploy/components/dashboard/project/add-template.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dokploy/components/dashboard/project/add-template.tsx b/apps/dokploy/components/dashboard/project/add-template.tsx index 5eb994fc4..2bdd85a01 100644 --- a/apps/dokploy/components/dashboard/project/add-template.tsx +++ b/apps/dokploy/components/dashboard/project/add-template.tsx @@ -307,9 +307,9 @@ export const AddTemplate = ({ projectId, baseUrl }: Props) => { : "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 xl:grid-cols-5 2xl:grid-cols-6", )} > - {templates?.map((template) => ( + {templates?.map((template, idx) => (