Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMasayoshi committed May 3, 2024
1 parent 32fe2cb commit e5a23b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sushi/src/format/number.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numeral from 'numbro'

export const formatNumber = (value: number | string, inputString = '0.00a') => {
export const formatNumber = (value: any, inputString = '0.00a') => {
if (typeof value === 'string') value = Number(value)

let negative = false
Expand Down

0 comments on commit e5a23b2

Please sign in to comment.