From 9823aedd75ff2b35227572a28fa659faebc57371 Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 31 Mar 2022 11:49:35 -0500 Subject: [PATCH] add time of earning --- components/notifications.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/notifications.js b/components/notifications.js index 955b7bac..e9d484bf 100644 --- a/components/notifications.js +++ b/components/notifications.js @@ -6,6 +6,7 @@ import { useRouter } from 'next/router' import MoreFooter from './more-footer' import Invite from './invite' import { ignoreClick } from '../lib/clicks' +import { timeSince } from '../lib/time' import Link from 'next/link' import Check from '../svgs/check-double-line.svg' import HandCoin from '../svgs/hand-coin-fill.svg' @@ -64,7 +65,7 @@ function Notification ({ n }) {
- you stacked {n.earnedSats} sats + you stacked {n.earnedSats} sats {timeSince(new Date(n.sortTime))}
SN distributes the sats it earns back to its best users daily. These sats come from jobs, boost, and posting fees.