diff --git a/apps/app/components/gantt-chart/hooks/block-update.tsx b/apps/app/components/gantt-chart/hooks/block-update.tsx index 5d183305b..68e1f6d12 100644 --- a/apps/app/components/gantt-chart/hooks/block-update.tsx +++ b/apps/app/components/gantt-chart/hooks/block-update.tsx @@ -15,10 +15,10 @@ export const updateGanttIssue = ( ) => { if (!issue || !workspaceSlug || !user) return; - mutate((prevData: IIssue[]) => { + mutate((prevData: any) => { if (!prevData) return prevData; - const newList = prevData.map((p) => ({ + const newList = prevData.map((p: any) => ({ ...p, ...(p.id === issue.id ? payload : {}), }));