Skip to content

Commit

Permalink
chore: fix grouping of signals that have different icons
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Oct 10, 2024
1 parent 42ea4cf commit 746efe2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ export const EventTimelineEventCircle = ({
}: IEventTimelineEventCircleProps) => {
if (
group.length === 1 ||
!group.some(({ type }) => type !== group[0].type)
!group.some(
({ type, icon }) =>
type !== group[0].type || icon !== group[0].icon,
)
) {
const event = group[0];

Expand Down

0 comments on commit 746efe2

Please sign in to comment.