Skip to content

Commit

Permalink
Remove unwanted debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Apr 26, 2023
1 parent fc76a84 commit 01daa94
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app/utils/numberFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ export type NumberFormattingParameters = Partial<BigNumber.Format> & {
unit?: string
}

const FAKE = false

export const formatNumber = (
inputNumber: number | string | BigNumber.Instance | undefined,
format: NumberFormattingParameters = {},
): string | undefined => {
if (inputNumber === undefined) return
if (FAKE) return 'XXX'
const { decimalPlaces, maximumFractionDigits, roundingMode, unit, ...formatting } = format
let number =
typeof inputNumber === 'number'
Expand Down

0 comments on commit 01daa94

Please sign in to comment.