From 5bdf66b80b2b1f3bbcb309feb20762cd2b8403b1 Mon Sep 17 00:00:00 2001 From: GuiSantos1367890 <159533313+GuiSantos1367890@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:49:15 +0100 Subject: [PATCH] =?UTF-8?q?corre=C3=A7=C3=A3o=20gant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/sections/Gantt.tsx | 2 +- src/data/project.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/sections/Gantt.tsx b/src/components/sections/Gantt.tsx index 6b52a81..5c3b079 100644 --- a/src/components/sections/Gantt.tsx +++ b/src/components/sections/Gantt.tsx @@ -12,7 +12,7 @@ const MONTH_ABBR = [ function buildYearSegments() { const segments: { year: number; span: number; startMonthIndex: number }[] = [] let monthOfYear = timeline.startMonthOfYear // 8 = agosto - let year = timeline.startYear + let year = Number(timeline.startYear) let current = { year, span: 0, startMonthIndex: 1 } for (let m = 1; m <= timeline.totalMonths; m++) { if (current.span === 0) current.startMonthIndex = m diff --git a/src/data/project.ts b/src/data/project.ts index b2b8c43..c505e3d 100644 --- a/src/data/project.ts +++ b/src/data/project.ts @@ -77,6 +77,7 @@ export type Task = { title: string startMonth: number endMonth: number + description?: string } export const tasks: Task[] = [ @@ -149,7 +150,7 @@ export const reports: Report[] = [ export const timeline = { totalMonths: 36, startYear: 2025, - startMonthOfYear: 8, // agosto + startMonthOfYear: 8 as number, // agosto } as const // ── Indicators ────────────────────────────────────────────────────────────