mirror of
https://codeberg.org/andyscott/ExerciseTracker.git
synced 2024-12-21 11:43:10 -05:00
Changed text box to drop down for unit
This commit is contained in:
parent
6a8c513204
commit
f0d1b95131
1 changed files with 4 additions and 5 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue