From f7ffce1b46e188b621c37a9980cdf5e15a8f3559 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 18 Sep 2023 19:23:49 +0800 Subject: [PATCH] Add tooltip to show percentage values of posting stats --- src/components/account-info.jsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/account-info.jsx b/src/components/account-info.jsx index 7b77a2f7..f004b764 100644 --- a/src/components/account-info.jsx +++ b/src/components/account-info.jsx @@ -662,7 +662,16 @@ function RelatedActions({ info, instance, authenticated, standalone }) { >
-
+
{postingStats.daysSinceLastPost < 365 ? `Last ${postingStats.total} posts in the past