Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed Jan 8, 2024
1 parent 2a665f4 commit 238d368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ui-react/src/chip/ChipList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const ChipList: FunctionComponent<{
const { groups, ungrouped } = groupAnnotations(annotations)
return (
<div className={clsx(styles.list, className)}>
{Object.entries(groups).map(([group, anns]) => (
{groups.map(([group, anns]) => (
<ChipGroup
key={`g:${group}`}
group={group}
Expand Down
2 changes: 1 addition & 1 deletion lib/ui-standalone/src/chip/ChipList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function createChipList({
el.className = clsx(styles.list, className)

const { groups, ungrouped } = groupAnnotations(annotations)
for (const [group, anns] of Object.entries(groups)) {
for (const [group, anns] of groups) {
el.append(createChipGroup({ group, annotations: anns, className: chipClassName, popoverClassName }))
}
for (const annotation of ungrouped) {
Expand Down

0 comments on commit 238d368

Please sign in to comment.