From fb1cb18f141066d29297daa521f24ea900263df9 Mon Sep 17 00:00:00 2001 From: Drew Del Rosario Date: Wed, 4 Oct 2023 20:05:21 -0700 Subject: [PATCH] Fix tests and onChange event --- client/src/Components/Counter.js | 1 + client/src/ER/Beds.js | 2 +- e2e/tests/erStatus.spec.js | 18 ++++++++---------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/client/src/Components/Counter.js b/client/src/Components/Counter.js index 56a08719..84cb7cad 100644 --- a/client/src/Components/Counter.js +++ b/client/src/Components/Counter.js @@ -40,6 +40,7 @@ function Counter({ label, min, max, name, onChange, value, isEditing }) { id={name} name={name} value={value} + onChange={onChange} /> )}