Commit 7436c8a5 authored by Ben Anderson's avatar Ben Anderson

Removed dropdown label

parent c2c68656
...@@ -41,7 +41,6 @@ export default function ProductIndex() { ...@@ -41,7 +41,6 @@ export default function ProductIndex() {
</div> </div>
{products.length > 0 ? ( {products.length > 0 ? (
<> <>
<label htmlFor="category-select" className="form-label">Category</label>
<select <select
className="form-select w-25 mt-1" className="form-select w-25 mt-1"
id="category-select" id="category-select"
...@@ -56,7 +55,7 @@ export default function ProductIndex() { ...@@ -56,7 +55,7 @@ export default function ProductIndex() {
setDisplayProducts([...filtered]); setDisplayProducts([...filtered]);
}} }}
> >
<option></option> <option value="">Select Category</option>
{categories.map((category, i) => ( {categories.map((category, i) => (
<option key={i + 679}>{category}</option> <option key={i + 679}>{category}</option>
))} ))}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment