mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
fix build
This commit is contained in:
@@ -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