show none option in categories

This commit is contained in:
mantikoros 2022-05-17 11:56:43 -04:00
parent 1afda07525
commit b98468c7ea

View File

@ -215,7 +215,7 @@ export function NewContract(props: { question: string; tag?: string }) {
value={category}
onChange={(e) => setCategory(e.currentTarget.value ?? '')}
>
<option value={''}></option>
<option value={''}>(none)</option>
{Object.entries(CATEGORIES).map(([id, name]) => (
<option key={id} value={id}>
{name}