Skip to content

Commit

Permalink
Fix: Ubi Rate in Global Dashboard (#387)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Marques <[email protected]>
  • Loading branch information
hugomarquesdev and Hugo Marques committed Nov 13, 2023
1 parent 05ac663 commit ee8a98d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/apis/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ export const dashboard: { [key: string]: Function } = {
getRatePerBeneficiary: (data: IGlobalDashboard, t: Function) => ({
prefix: '~',
suffix: `/${t('day')}`,
value: currencyValue(data?.monthly?.[0]?.ubiRate?.toString())
value: currencyValue(data?.monthly?.[0]?.ubiRate?.toString(), {
fixed: 3
})
}),

getReach: (data: IGlobalDashboard) => ({
Expand Down

1 comment on commit ee8a98d

@vercel
Copy link

@vercel vercel bot commented on ee8a98d Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./

web-ipct.vercel.app
www.impactmarket.com
web-git-production-ipct.vercel.app
impactmarket.com

Please sign in to comment.