From db3af43042ea60a9510648ad4c4901e96f9620db Mon Sep 17 00:00:00 2001 From: Richard Wong Date: Fri, 10 Nov 2023 09:38:34 +0900 Subject: [PATCH] Feat: added placeholder for number, increased default test count to 15 --- src/VerseSampler.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VerseSampler.jsx b/src/VerseSampler.jsx index e822256..2449216 100644 --- a/src/VerseSampler.jsx +++ b/src/VerseSampler.jsx @@ -129,7 +129,7 @@ function App() { // initialize state variable testCount // purpose: to set number of verses to test - const [testCount, setTestCount] = useState(5) + const [testCount, setTestCount] = useState(15) const testCountChange = (e) => { const value = e.target.value setTestCount(value) @@ -173,9 +173,12 @@ function App() { type="text" id="testCountBox" name="testCountBox" + placeholder={testCount} onChange={testCountChange} /> +

(It will only give you as many verses as there are in selected packs)

+

Set Shuffle: