Skip to content

Commit

Permalink
fix balance formatting on gauge deposit desc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalsine85 committed Dec 7, 2022
1 parent f74d1ad commit 040e41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/gauges/components/Actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const Stake: React.FC<StakeProps> = ({ gauge, max, onHide }) => {
const amount = parseUnits(val)
const stakeTx = gauge.gaugeContract['deposit(uint256)'](amount)

handleTx(stakeTx, `${gauge.name} Gauge: Deposit ${formatUnits(amount)} ${gauge.name}`, () => hideModal())
handleTx(stakeTx, `${gauge.name} Gauge: Deposit ${getDisplayBalance(amount)} ${gauge.name}`, () => hideModal())
}}
>
Deposit {gauge.name}
Expand Down

0 comments on commit 040e41f

Please sign in to comment.