Skip to content

Commit

Permalink
fix: sortedData
Browse files Browse the repository at this point in the history
  • Loading branch information
severinlandolt committed Mar 27, 2024
1 parent 1613fb2 commit ead8ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vis-elements/BarList/BarList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function BarListInner<T>(props: BarListProps<T>, ref: React.ForwardedRef<HTMLDiv
})}
</div>
<div className={makeBarListClassName("labels")}>
{data.map((item, index) => (
{sortedData.map((item, index) => (
<div
key={item.key ?? item.name}
className={tremorTwMerge(
Expand Down

0 comments on commit ead8ac9

Please sign in to comment.