Skip to content

Commit

Permalink
refactor: invert isLastItem condition for rendering FeedItem separator
Browse files Browse the repository at this point in the history
  • Loading branch information
simlarsen committed Jan 15, 2025
1 parent 800583d commit e20624a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/UI/Components/Feed/FeedItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const FeedItem: FunctionComponent<ComponentProps> = (
return (
<li key={props.key}>
<div className="relative pb-8">
{props.isLastItem && <span
{!props.isLastItem && <span
className="absolute left-5 top-5 -ml-px h-full w-0.5 bg-gray-200"
aria-hidden="true"
></span>}
Expand Down

0 comments on commit e20624a

Please sign in to comment.