Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
oatkiller committed Mar 31, 2020
1 parent 0b505f5 commit 0c8c03e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ export const ProcessEventDot = styled(
preserveAspectRatio="xMidYMid meet"
role="treeitem"
aria-level={adjacentNodeMap.level}
aria-flowto={adjacentNodeMap.nextSibling}
aria-flowto={
adjacentNodeMap.nextSibling === null ? undefined : adjacentNodeMap.nextSibling
}
aria-labelledby={labelId}
aria-describedby={descriptionId}
aria-haspopup={'true'}
Expand Down

0 comments on commit 0c8c03e

Please sign in to comment.