mirror of
https://github.com/vercel/commerce.git
synced 2025-07-05 04:31:22 +00:00
refactor: select common
This commit is contained in:
parent
a887ac3c2a
commit
ca41dcd194
@ -68,7 +68,7 @@ const SelectCommon = ({ type = 'default', size = 'base', option, children }: Pro
|
|||||||
[s.selectOption] : true,
|
[s.selectOption] : true,
|
||||||
[s[size]] : !!size,
|
[s[size]] : !!size,
|
||||||
})}
|
})}
|
||||||
onClick = { changeSelectedName(item.name) }
|
onClick = { changeSelectedName!.(item.name) }
|
||||||
>{item.name}</div>
|
>{item.name}</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user