diff --git a/common/src/envs/constants.ts b/common/src/envs/constants.ts index 614509014e..63670f6a28 100644 --- a/common/src/envs/constants.ts +++ b/common/src/envs/constants.ts @@ -25,7 +25,7 @@ export const SPICE_TO_CHARITY_DOLLARS = (1 / 1000) * (1 - CHARITY_FEE) // prize export const NY_FL_CASHOUT_LIMIT = 5000 export const SPICE_NAME = 'Prize Point' -export const SWEEPIES_NAME = 'Sweepcash' +export const SWEEPIES_NAME = 'sweepcash' export const SPICE_MARKET_TOOLTIP = `Prize market! Earn ${SPICE_NAME}s on resolution` export const SWEEPIES_MARKET_TOOLTIP = `Sweepstakes market! Win real cash prizes.` export const CASH_SUFFIX = '--cash' diff --git a/web/components/bet/cashout-limit-warning.tsx b/web/components/bet/cashout-limit-warning.tsx index e95b430138..87bf55ff31 100644 --- a/web/components/bet/cashout-limit-warning.tsx +++ b/web/components/bet/cashout-limit-warning.tsx @@ -8,6 +8,7 @@ import { User } from 'common/user' import { formatMoneyUSD, formatPercent } from 'common/util/format' import { useState } from 'react' import { IoIosWarning } from 'react-icons/io' +import { capitalize } from 'lodash' import { Col } from '../layout/col' import { Modal, MODAL_CLASS } from '../layout/modal' import { CoinNumber } from '../widgets/coin-number' @@ -50,7 +51,7 @@ export function CashoutLimitWarning(props: {