Replace '24h vol' with trending icon
This commit is contained in:
		
							parent
							
								
									344ce69fee
								
							
						
					
					
						commit
						2df96cc0b5
					
				|  | @ -8,6 +8,7 @@ import { Contract, compute, path } from '../lib/firebase/contracts' | ||||||
| import { Col } from './layout/col' | import { Col } from './layout/col' | ||||||
| import { parseTags } from '../lib/util/parse' | import { parseTags } from '../lib/util/parse' | ||||||
| import dayjs from 'dayjs' | import dayjs from 'dayjs' | ||||||
|  | import { TrendingUpIcon } from '@heroicons/react/solid' | ||||||
| 
 | 
 | ||||||
| export function ContractCard(props: { | export function ContractCard(props: { | ||||||
|   contract: Contract |   contract: Contract | ||||||
|  | @ -109,7 +110,8 @@ export function AbbrContractDetails(props: { | ||||||
|         <div>•</div> |         <div>•</div> | ||||||
|         {showHotVolume ? ( |         {showHotVolume ? ( | ||||||
|           <div className="whitespace-nowrap"> |           <div className="whitespace-nowrap"> | ||||||
|             {formatMoney(volume24Hours)} 24h vol |             <TrendingUpIcon className="h-5 w-5 text-gray-500 inline" />{' '} | ||||||
|  |             {formatMoney(volume24Hours)} | ||||||
|           </div> |           </div> | ||||||
|         ) : ( |         ) : ( | ||||||
|           <div className="whitespace-nowrap">{formatMoney(truePool)} pool</div> |           <div className="whitespace-nowrap">{formatMoney(truePool)} pool</div> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user