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}
onChange={(e) => setWeight(e.target.value)}
/>
<input
type="text"
value={unit}
onChange={(e) => setUnit(e.target.value)}
/>
<select value={unit} onChange={(e) => setUnit(e.target.value)}>
<option value="lbs">lbs</option>
<option value="kgs">kgs</option>
</select>
<input
type="text"
value={date}