From 89ecb8c0b9437a592faa5f9a1b9d8d01f775a50d Mon Sep 17 00:00:00 2001 From: keyan Date: Fri, 8 Dec 2023 12:46:31 -0600 Subject: [PATCH] add post cost to territory details --- pages/~/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/~/index.js b/pages/~/index.js index bac2a21f..df6698ef 100644 --- a/pages/~/index.js +++ b/pages/~/index.js @@ -17,6 +17,7 @@ import Hat from '../../components/hat' import styles from '../../components/item.module.css' import TerritoryPaymentDue from '../../components/territory-payment-due' import Badge from 'react-bootstrap/Badge' +import { numWithUnits } from '../../lib/format' export const getServerSideProps = getGetServerSideProps({ query: SUB_ITEMS, @@ -54,6 +55,11 @@ export default function Sub ({ ssrData }) { @{sub.user.name} +
+ post cost + + {numWithUnits(sub.baseCost)} +