Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
schmanu committed May 21, 2024
2 parents 1712c9e + 655335b commit ab391d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TokenLocking/LockTokenWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ export const LockTokenWidget = ({ safeBalance }: { safeBalance: BigNumberish | u
let isMaxDisabled = true
try {
isMaxDisabled = BigNumber.from(0).gte(safeBalance ?? 0)
} catch {}
} catch { }

let balanceString = '0'
try {
balanceString = formatAmount(formatUnits(safeBalance ?? '0', 18), 2)
} catch {}
} catch { }

const onLockTokens = async () => {
if (!txSender) {
Expand Down

0 comments on commit ab391d0

Please sign in to comment.