Skip to content

Commit

Permalink
fix: edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
itsacoyote committed Jul 26, 2024
1 parent 82ff805 commit 093141d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/formatters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import type { BigNumberish } from "ethers/lib/ethers.js";
*
* @param decimals - The number of decimals to use.
* @returns A tuple with two functions: one to convert a decimal string to a BigNumber and another to convert a BigNumber to a decimal string.
*
* [decimalToBigNumber, bigNumberToDecimal]
*/
export function useDecimals(decimals: number): [(amount: string) => BigNumberish, (amount: BigNumberish) => string] {
return [
Expand Down

0 comments on commit 093141d

Please sign in to comment.