From 364c6ad8e573035d0ea34e34919a7320e7b0fb76 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 23 Mar 2022 00:23:40 -0500 Subject: [PATCH] Show volume label for DPM contracts too --- web/lib/firebase/contracts.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/lib/firebase/contracts.ts b/web/lib/firebase/contracts.ts index a9ea2780..41f94e65 100644 --- a/web/lib/firebase/contracts.ts +++ b/web/lib/firebase/contracts.ts @@ -39,10 +39,7 @@ export function contractMetrics(contract: Contract) { ? dayjs(resolutionTime).format('MMM D') : undefined - const volumeLabel = - contract.mechanism === 'dpm-2' - ? `${formatMoney(truePool)} pool` - : `${formatMoney(contract.volume)} volume` + const volumeLabel = `${formatMoney(contract.volume)} volume` return { truePool, volumeLabel, createdDate, resolvedDate } }