From 286d63140b807b1cb3cc33761de33ddf2915bec2 Mon Sep 17 00:00:00 2001 From: Jerry Tapia Date: Fri, 1 Jul 2022 14:40:58 -0700 Subject: [PATCH] gil didnt approve my my drop down text --- src/components/HomePage/HomeGraphs/AreaGraph.js | 6 +++--- src/components/HomePage/HomeGraphs/BarGraph.js | 5 ++--- src/components/HomePage/HomeGraphs/DonutGraph.js | 5 ++--- src/components/HomePage/HomeGraphs/LineGraph.js | 7 +++---- src/components/HomePage/HomeGraphs/PieGraph.js | 5 ++--- 5 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/components/HomePage/HomeGraphs/AreaGraph.js b/src/components/HomePage/HomeGraphs/AreaGraph.js index 71d776a..4eb46c6 100644 --- a/src/components/HomePage/HomeGraphs/AreaGraph.js +++ b/src/components/HomePage/HomeGraphs/AreaGraph.js @@ -436,11 +436,11 @@ return ( -
- setToggleGraphMenu(!toggleGraphMenu)}> +
+ setToggleGraphMenu(!toggleGraphMenu)}> {toggleGraphMenu ? () : ()} - Hide Graph Menu +
diff --git a/src/components/HomePage/HomeGraphs/BarGraph.js b/src/components/HomePage/HomeGraphs/BarGraph.js index 9346764..7d965a8 100644 --- a/src/components/HomePage/HomeGraphs/BarGraph.js +++ b/src/components/HomePage/HomeGraphs/BarGraph.js @@ -162,11 +162,10 @@ export default function Bar() { -
- setToggleGraphMenu(!toggleGraphMenu)}> +
+ setToggleGraphMenu(!toggleGraphMenu)}> {toggleGraphMenu ? () : ()} - Hide Graph Menu
diff --git a/src/components/HomePage/HomeGraphs/DonutGraph.js b/src/components/HomePage/HomeGraphs/DonutGraph.js index bbf2970..664635f 100644 --- a/src/components/HomePage/HomeGraphs/DonutGraph.js +++ b/src/components/HomePage/HomeGraphs/DonutGraph.js @@ -287,11 +287,10 @@ return ( -
- setToggleGraphMenu(!toggleGraphMenu)}> +
+ setToggleGraphMenu(!toggleGraphMenu)}> {toggleGraphMenu ? () : ()} - Hide Graph Menu
diff --git a/src/components/HomePage/HomeGraphs/LineGraph.js b/src/components/HomePage/HomeGraphs/LineGraph.js index bc9613d..62adc39 100644 --- a/src/components/HomePage/HomeGraphs/LineGraph.js +++ b/src/components/HomePage/HomeGraphs/LineGraph.js @@ -289,12 +289,11 @@ if (graph === 'totalTime' && selection === 'difficulty') { -
- setToggleGraphMenu(!toggleGraphMenu)}> +
+ setToggleGraphMenu(!toggleGraphMenu)}> {toggleGraphMenu ? () : ()} - Hide Graph Menu -
+
-
- setToggleGraphMenu(!toggleGraphMenu)}> +
+ setToggleGraphMenu(!toggleGraphMenu)}> {toggleGraphMenu ? () : ()} - Hide Graph Menu