Skip to content

Commit

Permalink
Fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemKolodko committed Oct 17, 2023
1 parent 78b3953 commit 1911a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/schedule/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export const abbreviateNumber = (value: number): string => {
}

return (+value / Math.pow(1000, index))
.toFixed(fractionalDigits)
.toFixed(fractionalDigits) +
// .replace(/\.0$/, '')
+ suffix[index - 1]
suffix[index - 1]
}

export const lessThan100 = (value: string): string => {
Expand Down

0 comments on commit 1911a42

Please sign in to comment.