Capitalize

This commit is contained in:
Ian Philips 2022-09-15 15:51:39 -06:00
parent 61c672ce4c
commit 3362b2f953

View File

@ -19,6 +19,7 @@ import ShortToggle from '../widgets/short-toggle'
import { DuplicateContractButton } from '../copy-contract-button' import { DuplicateContractButton } from '../copy-contract-button'
import { Row } from '../layout/row' import { Row } from '../layout/row'
import { BETTORS } from 'common/user' import { BETTORS } from 'common/user'
import { capitalize } from 'lodash'
export const contractDetailsButtonClassName = export const contractDetailsButtonClassName =
'group flex items-center rounded-md px-3 py-2 text-sm font-medium cursor-pointer hover:bg-gray-100 text-gray-400 hover:text-gray-500' 'group flex items-center rounded-md px-3 py-2 text-sm font-medium cursor-pointer hover:bg-gray-100 text-gray-400 hover:text-gray-500'
@ -136,7 +137,7 @@ export function ContractInfoDialog(props: {
</tr> */} </tr> */}
<tr> <tr>
<td>{BETTORS}</td> <td>{capitalize(BETTORS)}</td>
<td>{bettorsCount}</td> <td>{bettorsCount}</td>
</tr> </tr>