Skip to content

Commit

Permalink
fix: can't click name on dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
pbullhove committed Mar 13, 2024
1 parent 6d1281f commit 20023cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/dm-core/src/components/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,7 @@ export const Dropdown = (props: {
{items && items.length > 0 && (
<ul style={{ padding: 0, listStyleType: 'none' }}>
{items.map((item: string, idx: number) => (
<li
key={idx}
style={{ cursor: 'pointer' }}
onClick={() => handleSelect(item)}
>
<li key={idx}>
<Checkbox
label={item}
checked={selectedItems.includes(item)}
Expand Down

0 comments on commit 20023cc

Please sign in to comment.