Skip to content

Commit b2adf32

Browse files
remove double quotes from item name input
1 parent 0af2ccc commit b2adf32

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/components/AddItems.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ export function AddItems({ items }) {
8383
>
8484
Item Name:
8585
</TextInputElement>
86-
<label="Item Name:"
87-
required={true}
88-
/>
89-
86+
<label htmlFor="item-name" required={true}>
87+
Item Name:
88+
</label>
9089
{Object.entries(daysUntilPurchaseOptions).map(([key, value]) => (
9190
<RadioInputElement
9291
key={key}
@@ -96,7 +95,6 @@ export function AddItems({ items }) {
9695
required={true}
9796
/>
9897
))}
99-
10098
<button type="submit">Submit</button>
10199
</form>
102100
</div>

0 commit comments

Comments
 (0)