mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 16:08:54 +00:00
fix build
This commit is contained in:
@@ -85,7 +85,7 @@ const Combobox = ({
|
||||
|
||||
const renderDropdown = ()=>{
|
||||
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) });
|
||||
return clone;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user