refactor: select common

This commit is contained in:
unknown 2021-08-30 14:03:04 +07:00
parent a887ac3c2a
commit ca41dcd194

View File

@ -68,7 +68,7 @@ const SelectCommon = ({ type = 'default', size = 'base', option, children }: Pro
[s.selectOption] : true,
[s[size]] : !!size,
})}
onClick = { changeSelectedName(item.name) }
onClick = { changeSelectedName!.(item.name) }
>{item.name}</div>
)
}