From 857eb5910cb194df9de9c2988b2c6b19174d7d19 Mon Sep 17 00:00:00 2001 From: Jame <> Date: Thu, 14 Dec 2023 15:43:52 +0700 Subject: [PATCH] fix bugs --- app/page.tsx | 2 +- components/ChartGroup.tsx | 8 ++++++-- components/SectionIntro.tsx | 4 ++-- components/SectionLanding.tsx | 8 ++++---- components/SectionPart1.tsx | 2 +- components/SectionWhat.tsx | 4 +++- components/SituationDetail.tsx | 2 +- hooks/useChart.tsx | 8 +++++++- public/data/data-sheet.json | 2 +- 9 files changed, 26 insertions(+), 14 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index f945755..c5fa347 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -26,7 +26,7 @@ export default function IndexPage() { -
+
diff --git a/components/ChartGroup.tsx b/components/ChartGroup.tsx index 0b3d7d4..123a925 100644 --- a/components/ChartGroup.tsx +++ b/components/ChartGroup.tsx @@ -29,6 +29,7 @@ export default function ChartGroup() { interactable, suggests, mode, + showChart, getBarDataByYear, getStackDataByYear, } = useChart(); @@ -134,7 +135,7 @@ export default function ChartGroup() { {guideYears.includes(i) && (
-
+
diff --git a/components/SectionIntro.tsx b/components/SectionIntro.tsx index 1a57300..134d945 100644 --- a/components/SectionIntro.tsx +++ b/components/SectionIntro.tsx @@ -54,11 +54,11 @@ export default function SectionIntro() {
ข้ามไปสำรวจ
-
+
{menuTabs.map((i) => (