This commit is contained in:
Sinclair Chen 2022-10-05 17:56:48 -07:00
parent 439d4eefa5
commit e7aa536a9d
2 changed files with 2 additions and 6 deletions

View File

@ -19,7 +19,7 @@ export function CharityCard(props: { charity: Charity; match?: number }) {
return ( return (
<Link href={`/charity/${slug}`}> <Link href={`/charity/${slug}`}>
<a className="flex-1"> <a className="flex-1">
<Card className='!rounded-2xl'> <Card className="!rounded-2xl">
<Row className="mt-6 mb-2"> <Row className="mt-6 mb-2">
{tags?.includes('Featured') && <FeaturedBadge />} {tags?.includes('Featured') && <FeaturedBadge />}
</Row> </Row>

View File

@ -1,13 +1,9 @@
import { sortBy } from 'lodash'
import clsx from 'clsx' import clsx from 'clsx'
import { contractPath } from 'web/lib/firebase/contracts'
import { CPMMContract } from 'common/contract' import { CPMMContract } from 'common/contract'
import { formatPercent } from 'common/util/format' import { formatPercent } from 'common/util/format'
import { SiteLink } from '../site-link' import { sortBy } from 'lodash'
import { Col } from '../layout/col' import { Col } from '../layout/col'
import { LoadingIndicator } from '../loading-indicator' import { LoadingIndicator } from '../loading-indicator'
import { useContractWithPreload } from 'web/hooks/use-contract'
import { Card } from '../card'
import { ContractCardProbChange } from './contract-card' import { ContractCardProbChange } from './contract-card'
export function ProbChangeTable(props: { export function ProbChangeTable(props: {