Remove all spaces between M$ and the associated number (#134)
* Remove all spaces between M$ and the associated number * Update index.tsx
This commit is contained in:
parent
bbf419953e
commit
e41f646b42
|
@ -10,7 +10,7 @@ const formatter = new Intl.NumberFormat('en-US', {
|
|||
export function formatMoney(amount: number) {
|
||||
const newAmount = Math.round(amount) === 0 ? 0 : Math.floor(amount) // handle -0 case
|
||||
return (
|
||||
ENV_CONFIG.moneyMoniker + ' ' + formatter.format(newAmount).replace('$', '')
|
||||
ENV_CONFIG.moneyMoniker + formatter.format(newAmount).replace('$', '')
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export function FeedPromo(props: { hotContracts: Contract[] }) {
|
|||
<div className="mb-4 text-gray-500">
|
||||
Find markets on any topic imaginable. Or create your own!
|
||||
<br />
|
||||
Sign up to get M$ 1,000 and start trading.
|
||||
Sign up to get M$1,000 and start trading.
|
||||
<br />
|
||||
</div>
|
||||
<Spacer h={6} />
|
||||
|
|
|
@ -56,8 +56,7 @@ export default function Charity(props: {
|
|||
<Col className="max-w-xl gap-2">
|
||||
<Title className="!mt-0" text="Manifold for Good" />
|
||||
<div className="mb-6 text-gray-500">
|
||||
Donate your winnings to charity! Through the month of May, every M$
|
||||
100 you contribute turns into $1 USD sent to your chosen charity.
|
||||
Donate your winnings to charity! Through the month of May, every M$100 you contribute turns into $1 USD sent to your chosen charity.
|
||||
<Spacer h={5} />
|
||||
Together we've donated over ${Math.floor(totalRaised / 100)} USD so
|
||||
far!
|
||||
|
|
Loading…
Reference in New Issue
Block a user