Call out Manafold's earnings up top

This commit is contained in:
Austin Chen 2022-04-01 09:59:19 -07:00
parent d9a1ef7328
commit 3b313f319c

View File

@ -199,6 +199,9 @@ export default function Manaboards(props: {
leaderboard slots to recoup our losses. Buy one now to earn fleeting leaderboard slots to recoup our losses. Buy one now to earn fleeting
glory and keep Manafold afloat! glory and keep Manafold afloat!
</p> </p>
<p className="alert alert-success">
Mana replenished: {formatMoney(userProfits(MANIFOLD_ID, txns))}
</p>
</div> </div>
<Col className="mt-6 gap-10"> <Col className="mt-6 gap-10">
@ -215,9 +218,6 @@ export default function Manaboards(props: {
{user && ( {user && (
<p>Your earnings: {formatMoney(userProfits(user.id, txns))}</p> <p>Your earnings: {formatMoney(userProfits(user.id, txns))}</p>
)} )}
<p>
Manafold's earnings: {formatMoney(userProfits(MANIFOLD_ID, txns))}
</p>
<TransactionsTable txns={_.reverse(sortedTxns)} /> <TransactionsTable txns={_.reverse(sortedTxns)} />
</div> </div>
</Col> </Col>