Skip to content

Commit 3ea350e

Browse files
rapsealkxrutayisire
authored andcommitted
ci: Apply prettier
1 parent dce74a9 commit 3ea350e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/components/CustomSelect.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ export default function CustomSelect(props: CustomSelectProps) {
3737
const options = useMemo(
3838
() => {
3939
if (optionsList) {
40-
return optionsList.map((option, index) => {
41-
const number = unit.min === 0 ? index : index + 1
40+
return optionsList
41+
.map((option, index) => {
42+
const number = unit.min === 0 ? index : index + 1
4243

43-
return {
44-
value: number.toString(),
45-
label: option,
46-
}
47-
}).filter(filterOption)
44+
return {
45+
value: number.toString(),
46+
label: option,
47+
}
48+
})
49+
.filter(filterOption)
4850
}
4951

5052
return [...Array(unit.total)]

0 commit comments

Comments
 (0)