Skip to content

Commit

Permalink
suggestions user
Browse files Browse the repository at this point in the history
  • Loading branch information
manikandanraji committed Jun 22, 2020
1 parent eb17e1b commit 4dc09be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const Suggestions = () => {

<div className="suggestions">
<h3>Suggestions For You</h3>
{users.map((user) => (
{users.slice(0, 4).map((user) => (
<div key={user.username} className="suggestions-usercard">
<UserCard user={user} />
<Follow nobtn isFollowing={user.isFollowing} userId={user._id} />
Expand Down

0 comments on commit 4dc09be

Please sign in to comment.