show none option in categories
This commit is contained in:
parent
1afda07525
commit
b98468c7ea
|
@ -215,7 +215,7 @@ export function NewContract(props: { question: string; tag?: string }) {
|
||||||
value={category}
|
value={category}
|
||||||
onChange={(e) => setCategory(e.currentTarget.value ?? '')}
|
onChange={(e) => setCategory(e.currentTarget.value ?? '')}
|
||||||
>
|
>
|
||||||
<option value={''}></option>
|
<option value={''}>(none)</option>
|
||||||
{Object.entries(CATEGORIES).map(([id, name]) => (
|
{Object.entries(CATEGORIES).map(([id, name]) => (
|
||||||
<option key={id} value={id}>
|
<option key={id} value={id}>
|
||||||
{name}
|
{name}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user