From f5437737e07c64f05881b73538eb5e50beeaa255 Mon Sep 17 00:00:00 2001 From: Brandon <25nguyenb26@stu.smuhsd.org> Date: Sun, 10 Mar 2024 11:15:48 -0700 Subject: [PATCH] don't track number changes lazy solution ik, but did not want to go through logic of preserving intial state or something when not clicked --- src/components/inputs/Numbers.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/inputs/Numbers.jsx b/src/components/inputs/Numbers.jsx index 6f7adda..90b462c 100644 --- a/src/components/inputs/Numbers.jsx +++ b/src/components/inputs/Numbers.jsx @@ -26,6 +26,7 @@ const Numbers = ({ label, prop, phase, idealLength = 4, width, twoLines, height dispatch({ type: `set${phase ? "InPhase" : ""}`, prop, + track: false, val: !( event.target.value === undefined || event.target.value === "" )