Skip to content

Commit

Permalink
Fix claim all issue (#43)
Browse files Browse the repository at this point in the history
* Fix claim all issue

* Pretty

---------

Co-authored-by: Noisekit <[email protected]>
  • Loading branch information
Rickk137 and noisekit authored Oct 22, 2024
1 parent d319888 commit 1178177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions liquidity/lib/useClaimAllRewards/useClaimAllRewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ export function useClaimAllRewards(
SpotProxy?.populateTransaction.unwrap(
synthToken.synthMarketId,
amount?.toBN(),
amount?.toBN().mul(98).div(100).toNumber().toFixed()
amount?.toBN().sub(amount?.toBN().div(100))
)
);
}
}
);

const callsPromise = Promise.all(transcations.filter(notNil));
const walletAddress = await signer.getAddress();

Expand Down
4 changes: 2 additions & 2 deletions liquidity/ui/src/components/MigrateUSD/StepIntro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export const StepIntro = ({
return (
<VStack gap={2.5}>
<Text width="100%" textAlign="left" fontSize="14px">
Convert your sUSD on Ethereum Mainnet to V3 compatible sUSD. You will need V3 compatible sUSD to interact with
the new Synthetix products.
Convert your sUSD on Ethereum Mainnet to V3 compatible sUSD. You will need V3 compatible
sUSD to interact with the new Synthetix products.
</Text>

<BorderBox width="100%" display="flex" flexDirection="column" p={3}>
Expand Down

0 comments on commit 1178177

Please sign in to comment.