Skip to content

Commit

Permalink
Fix lint problem
Browse files Browse the repository at this point in the history
Signed-off-by: Sosuke Suzuki <[email protected]>
  • Loading branch information
sosukesuzuki committed Aug 17, 2023
1 parent 2dee49d commit 2bed8ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/autocomplete/autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const Autocomplete = (props: AutocompleteProps) => {
if (menuItems.length === 0) {
return <div style={{display: 'none'}} />;
}
return <div style={{...style, ...this.menuStyle, background: 'white', zIndex: 20, maxHeight: '20em'}} children={menuItems} />;
return <div style={{...style, ...this.menuStyle, background: 'white', zIndex: 20, maxHeight: '20em'}}>{menuItems}</div>;
}}
getItemValue={(item: any) => item.label}
items={items}
Expand Down

0 comments on commit 2bed8ae

Please sign in to comment.