Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
Added searching for follows by letter
Browse files Browse the repository at this point in the history
If you want to lookup the follwers or following of a user alphabetically, you now can. The alphabet is displayed with links to search for each letter.
  • Loading branch information
KrNel committed May 23, 2019
1 parent e6b5293 commit 9827f1e
Show file tree
Hide file tree
Showing 9 changed files with 248 additions and 317 deletions.
6 changes: 4 additions & 2 deletions client/src/components/pages/Steem/FollowButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ const FollowButton = (props) => {
if (!isAuth)
return null;

//is the current user being follow by the logged in user
const followed = followingList.includes(user);
const { isFollowing, userFollowing } = followPayload;

const { userFollowing } = followPayload;
let loading = false;

if (isFollowing && userFollowing === user)
if (userFollowing && userFollowing === user)
loading = true;

let button = null;
Expand Down
95 changes: 0 additions & 95 deletions client/src/components/pages/Steem/Followers.js

This file was deleted.

95 changes: 0 additions & 95 deletions client/src/components/pages/Steem/Following.js

This file was deleted.

11 changes: 11 additions & 0 deletions client/src/components/pages/Steem/Follows.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.searchLetters {
font-size: 1rem;
line-height: 1.2rem;
}

.searchLetter {
margin-left: 0.25rem;
padding-right: 0.3rem;
font-family: Courier;
font-weight: bold;
}
Loading

0 comments on commit 9827f1e

Please sign in to comment.