Skip to content

Commit

Permalink
Fix:verra-total-amount-not-showing-properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikoeliud committed Feb 9, 2023
1 parent 0ca2cca commit ea50981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AssetTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const SectionWrapper = styled(Box)(({ theme }) => ({
const AssetsDetails = ({ assets }: { assets: IFinalAsset[] }) => {
let uniqueItems: any = new Set(
assets.map((asset: IFinalAsset) =>
asset.currentLocation === 'Verra Registry Database' ? 'Verra Verified Carbon Units' : asset['asset-type'],
asset['asset-type'] === 'Carbon Credits Batch' ? 'Carbon Credits Batch' : asset['asset-type'],
),
)
uniqueItems = Array.from(uniqueItems)
Expand Down

0 comments on commit ea50981

Please sign in to comment.