Skip to content

Commit

Permalink
remove the limit of 3 users on the peopleConnet list in the peopleCon…
Browse files Browse the repository at this point in the history
…net page
  • Loading branch information
Macktireh committed Aug 10, 2024
1 parent 114e25a commit c3cb623
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/postDetails/CardComment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const CardComment: React.FC<propsTypes> = ({ currentUser, comment, users }) => {
<span>@{authorPost.pseudo}</span>
</Link>
<span>·</span>
<span>{ReTweet?.created && `il y a ${timeSince(dateParserCreated(ReTweet.created))}`}</span>
<span>{ReTweet?.created && `${timeSince(dateParserCreated(ReTweet.created))} ago`}</span>
</p>
)}
<Tippy
Expand Down
1 change: 0 additions & 1 deletion src/pages/private/PeopleConnect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const PeopleConnect: React.FC<propsTypes> = ({
<div className="list-cardPeopleConnect">
{peopleConnect &&
peopleConnect
.slice(0, 3)
.map((u, i) => (
<CardFollow
key={i}
Expand Down

0 comments on commit c3cb623

Please sign in to comment.