Skip to content

Commit

Permalink
fix: Rollback default export declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
moraesjeremias committed Aug 9, 2024
1 parent 49be12b commit 2f28e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/parser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ethers } from "ethers";
import {BigNumber} from "bignumber.js";

export function parseAmount(numberString: string): string {
export default function parseAmount(numberString: string): string {
try {
const number = BigNumber(numberString).toFixed();
return ethers.formatEther(number).toString();
Expand Down

0 comments on commit 2f28e30

Please sign in to comment.