Skip to content

Commit

Permalink
Fix issue with timeline item
Browse files Browse the repository at this point in the history
  • Loading branch information
sajadevo committed Nov 24, 2021
1 parent a566296 commit be2cb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/Timeline/TimelineItem/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function TimelineItem({ color, icon, title, dateTime, description, badges, lastI
: null;

return (
<SuiBox position="relative" sx={(theme) => timelineItem(theme, { color })}>
<SuiBox position="relative" sx={(theme) => timelineItem(theme, { lastItem })}>
<SuiBox
bgColor={isDark ? "dark" : "white"}
width="1.625rem"
Expand Down

0 comments on commit be2cb62

Please sign in to comment.