Skip to content

Commit

Permalink
chore: 비정상적인 데이터가 입력되었을 때의 경우의수 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave352 committed Nov 5, 2023
1 parent 255a564 commit 873fbf0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/react-utils/src/utils/NumberUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@ export function convertEmptyNumber(num?: number | null) {
export const formatNumberWithCommas = (_number?: number | null) => {
const number = isNumber(_number) ? _number : '0'

if (+number > 4200000000) {
return '-'
}

return number.toLocaleString()
}

0 comments on commit 873fbf0

Please sign in to comment.