Skip to content

Commit 5fa3ccc

Browse files
authored
Narrow display results in rendering glitches (#7546)
Fixes #7011
1 parent e76ee22 commit 5fa3ccc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webviews/components/timeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ const AssignUnassignEventView = ({ event }: { event: AssignEvent | UnassignEvent
424424
const { actor } = event;
425425
const assignees = (event as AssignEvent).assignees || [];
426426
const unassignees = (event as UnassignEvent).unassignees || [];
427-
const joinedAssignees = joinWithAnd(assignees.map(a => <AuthorLink key={a.id} for={a} />));
428-
const joinedUnassignees = joinWithAnd(unassignees.map(a => <AuthorLink key={a.id} for={a} />));
427+
const joinedAssignees = joinWithAnd(assignees.map(a => <AuthorLink key={`${a.id}a`} for={a} />));
428+
const joinedUnassignees = joinWithAnd(unassignees.map(a => <AuthorLink key={`${a.id}u`} for={a} />));
429429

430430
let message: JSX.Element;
431431
if (assignees.length > 0 && unassignees.length > 0) {

0 commit comments

Comments
 (0)