diff --git a/src/app/insights/components/BarGraph.tsx b/src/app/insights/components/BarGraph.tsx index 62fb7ce2..39d8e1d7 100644 --- a/src/app/insights/components/BarGraph.tsx +++ b/src/app/insights/components/BarGraph.tsx @@ -1,12 +1,8 @@ - interface BarGraphProps { data: { name: string; value: number }[]; } - - - export default function BarGraph({ data }: BarGraphProps) { return (
diff --git a/src/app/insights/components/InsightsDisplay.tsx b/src/app/insights/components/InsightsDisplay.tsx index 17f37382..574466fe 100644 --- a/src/app/insights/components/InsightsDisplay.tsx +++ b/src/app/insights/components/InsightsDisplay.tsx @@ -156,15 +156,15 @@ export default function InsightsDisplay() { getNeedsData(); }, []); - const dummyNeedsData = [ - { name: "Integrity", value: 8 }, - { name: "Celebration", value: 35 }, - { name: "Physical Nurturance", value: 12 }, - { name: "Autonomy", value: 10 }, - { name: "Harmony", value: 71 }, - { name: "Play", value: 54 }, - { name: "Interdependence", value: 15 }, - ]; + // const dummyNeedsData = [ + // { name: "Integrity", value: 8 }, + // { name: "Celebration", value: 35 }, + // { name: "Physical Nurturance", value: 12 }, + // { name: "Autonomy", value: 10 }, + // { name: "Harmony", value: 71 }, + // { name: "Play", value: 54 }, + // { name: "Interdependence", value: 15 }, + // ]; return ( <> @@ -241,11 +241,9 @@ export default function InsightsDisplay() {

Loading Bar Chart...

- ) : needsData.some((item) => item.value > 0) ? ( + ) : - ) : ( - - )} + } ); }