From 9b272eb7da40d28918161c7a52a5c44220a26a1b Mon Sep 17 00:00:00 2001 From: "Emmanuel Joseph(JET)" Date: Sun, 13 Dec 2020 02:18:56 +0100 Subject: [PATCH] UI Fix Changes to be committed: modified: aepp/src/components/MessageBoard.js modified: aepp/src/components/SearchResult.js modified: aepp/src/components/SuperchatUsersList.js --- aepp/src/components/MessageBoard.js | 2 +- aepp/src/components/SearchResult.js | 2 +- aepp/src/components/SuperchatUsersList.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/aepp/src/components/MessageBoard.js b/aepp/src/components/MessageBoard.js index a24d6cf..be1d997 100644 --- a/aepp/src/components/MessageBoard.js +++ b/aepp/src/components/MessageBoard.js @@ -33,7 +33,7 @@ const ReceivedMsg = ({ message: { amount, category, content, time } }) => { animate={{ opacity: 1, transition: { duration: 0.2 } }} > {amount ? ( -

{toAe(amount)}AE sent

+

{toAe(amount)}AE received

) : null}

{content}

{parseTime(time)}

diff --git a/aepp/src/components/SearchResult.js b/aepp/src/components/SearchResult.js index 0d82dbe..7846fc4 100644 --- a/aepp/src/components/SearchResult.js +++ b/aepp/src/components/SearchResult.js @@ -16,7 +16,7 @@ const SearchResult = ({ query, filteredUser, friendInstance, dispatch }) => { exit={{ opacity: 0 }} animate={{ opacity: 1, transition: { duration: 0.2 } }} > -

Search results

+

{SearchResults.length} Search result{(SearchResults.length > 1) ? 's' : ''}

{SearchResults.length < 1 &&

No results found!

} {SearchResults.map((user) => (

- {users.length} total users, {friends.length} friends,{" "} - {friendRequests.length} friends request + {users.length} user{(users.length > 1) ? 's' : ''}, {friends.length} friend{(friends.length > 1) ? 's' : ''},{" "} + {friendRequests.length} friend request{(friendRequests.length > 1) ? 's' : ''}

{filteredUser.map((user) => (