From b7a7508d5d6f7eb254a39c0d993bd04e90fccca5 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Thu, 13 Apr 2023 15:38:43 +0530 Subject: [PATCH] fix: workspace dashboard duplicate keys (#803) --- apps/app/components/workspace/activity-graph.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app/components/workspace/activity-graph.tsx b/apps/app/components/workspace/activity-graph.tsx index f3144f7a1..d63d2e4d3 100644 --- a/apps/app/components/workspace/activity-graph.tsx +++ b/apps/app/components/workspace/activity-graph.tsx @@ -101,12 +101,12 @@ export const ActivityGraph: React.FC = ({ activities }) => { style={{ gridTemplateRows: "repeat(7, minmax(0, 1fr))" }} ref={ref} > - {recentDates.map((date) => { + {recentDates.map((date, index) => { const isActive = activities?.find((a) => a.created_date === date); return (