mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
refactor: select common
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user