From cded1bacec46dd721b4123fcf8549ce5ad594117 Mon Sep 17 00:00:00 2001
From: Brandon <25nguyenb26@stu.smuhsd.org>
Date: Mon, 2 Oct 2023 13:47:42 -0700
Subject: [PATCH] Checkboxes
pickup locations now checkboxes per Angelyn's request
---
src/components/Review.jsx | 22 ++++++++++++----------
src/reducer.js | 4 +++-
2 files changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/components/Review.jsx b/src/components/Review.jsx
index 095e0b8..1b40a43 100644
--- a/src/components/Review.jsx
+++ b/src/components/Review.jsx
@@ -18,16 +18,18 @@ const Review = () => {
label="Scouting data accidents / problems"
prop="scoutProblems"
>
-
+
+
+
diff --git a/src/reducer.js b/src/reducer.js
index 0b54c8c..b9ff06f 100644
--- a/src/reducer.js
+++ b/src/reducer.js
@@ -50,7 +50,9 @@ export const initialState = {
defense: false,
scoutProblems: false,
robotProblems: false,
- pickupLocation: "Ground",
+ groundPickup: false,
+ singleSubstation: false,
+ doubleSubstation: false,
comments: "",
// Qualitative attributes... I don't want to deal with phase anymore
team1Number: undefined,