From a7890ec031cf402db0f44aa13a9924328fb94680 Mon Sep 17 00:00:00 2001 From: teodorus-nathaniel Date: Wed, 10 Jan 2024 23:43:56 +0700 Subject: [PATCH] chore: change wording and order of stats cards, and swap order of super like tooltip error --- src/components/statistics/Statistics.tsx | 8 +++++--- src/components/voting/SuperLike.tsx | 5 +++-- src/messages/index.ts | 2 +- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/statistics/Statistics.tsx b/src/components/statistics/Statistics.tsx index 1b2c04c7f..54e35389f 100644 --- a/src/components/statistics/Statistics.tsx +++ b/src/components/statistics/Statistics.tsx @@ -24,12 +24,12 @@ export type ActivityEvent = | 'AccountFollowed' export const eventArr = [ + 'PostReactionCreated,CommentReactionCreated', + 'PostCreated', 'SpaceCreated', 'SpaceFollowed', - 'PostCreated', 'PostShared,CommentShared', // 'CommentCreated,CommentReplyCreated', - 'PostReactionCreated,CommentReactionCreated', 'AccountFollowed', ] @@ -99,7 +99,9 @@ export function InnerStatistics(props: FormProps) { >
showModal(data.activityType)}> diff --git a/src/messages/index.ts b/src/messages/index.ts index 80d640f55..40758a51b 100644 --- a/src/messages/index.ts +++ b/src/messages/index.ts @@ -72,7 +72,7 @@ export default { PostSharing: 'Posts shared', 'PostShared,CommentShared': 'Posts shared', 'CommentCreated,CommentReplyCreated': 'Comments created', - 'PostReactionCreated,CommentReactionCreated': 'Upvotes + downvotes', + 'PostReactionCreated,CommentReactionCreated': 'Likes', }, connectingToNetwork: 'Connecting to the network...', waitingForTx: 'Waiting for transaction to complete.',