mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 14:26:54 +00:00
fix build
This commit is contained in:
1 parent
4ec73938b4
commit
9b02d74fb1
1 file changed
+1
-1
@@ -85,7 +85,7 @@ const Combobox = ({
|
|||||||
|
|
||||||
const renderDropdown = ()=>{
|
const renderDropdown = ()=>{
|
||||||
if(!showDropdown) return null;
|
if(!showDropdown) return null;
|
||||||
const dropdownChildren = options.map((child, i)=>{
|
let dropdownChildren = options.map((child, i)=>{
|
||||||
const clone = React.cloneElement(child, { onClick: ()=>handleSelect(child.props.value, child.props.data) });
|
const clone = React.cloneElement(child, { onClick: ()=>handleSelect(child.props.value, child.props.data) });
|
||||||
return clone;
|
return clone;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user