Changed text box to drop down for unit

This commit is contained in:
Andrew Scott 2022-06-04 23:21:49 -04:00
parent 6a8c513204
commit f0d1b95131
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -49,11 +49,10 @@ export const EditPage = ({ exerciseToEdit }) => {
value={weight} value={weight}
onChange={(e) => setWeight(e.target.value)} onChange={(e) => setWeight(e.target.value)}
/> />
<input <select value={unit} onChange={(e) => setUnit(e.target.value)}>
type="text" <option value="lbs">lbs</option>
value={unit} <option value="kgs">kgs</option>
onChange={(e) => setUnit(e.target.value)} </select>
/>
<input <input
type="text" type="text"
value={date} value={date}