aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components/SelectField.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/components/SelectField.js')
-rw-r--r--modern/src/common/components/SelectField.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modern/src/common/components/SelectField.js b/modern/src/common/components/SelectField.js
index bbc661c2..2ee2f147 100644
--- a/modern/src/common/components/SelectField.js
+++ b/modern/src/common/components/SelectField.js
@@ -39,8 +39,9 @@ const SelectField = ({
value={value}
onChange={onChange}
>
- {!multiple && emptyValue !== null
- && <MenuItem value={emptyValue}>{emptyTitle}</MenuItem>}
+ {!multiple && emptyValue !== null && (
+ <MenuItem value={emptyValue}>{emptyTitle}</MenuItem>
+ )}
{items.map((item) => (
<MenuItem key={keyGetter(item)} value={keyGetter(item)}>{titleGetter(item)}</MenuItem>
))}