From 52fd3e4510e29583c421cd1e251a28c2dc436d13 Mon Sep 17 00:00:00 2001 From: Brandon <25nguyenb26@stu.smuhsd.org> Date: Tue, 3 Oct 2023 16:03:30 -0700 Subject: [PATCH] Revert "Revert "adding mobility"" This reverts commit d7546170f0387402c395874e41935f8700d59659. --- src/components/Scout.jsx | 19 ++++++++++++++++--- src/components/inputs/Bool.jsx | 2 +- src/components/inputs/Dropdown.jsx | 8 ++++---- src/components/inputs/Undo.jsx | 6 +++--- src/reducer.js | 1 + 5 files changed, 25 insertions(+), 11 deletions(-) diff --git a/src/components/Scout.jsx b/src/components/Scout.jsx index c17dedb..6bafdad 100644 --- a/src/components/Scout.jsx +++ b/src/components/Scout.jsx @@ -81,11 +81,11 @@ const Scout = () => { {phaseTabContent} - - {!showNext && ( + + {state.phase === "auto" && ( { ]} > )} + + {state.phase === "auto" && ( + + )} + + {showNext && } diff --git a/src/components/inputs/Bool.jsx b/src/components/inputs/Bool.jsx index 1203919..44d107f 100644 --- a/src/components/inputs/Bool.jsx +++ b/src/components/inputs/Bool.jsx @@ -10,7 +10,7 @@ const Bool = ({ label, trueLabel, prop, onFlip, phase, color, wide, tall}) => { return (