Skip to content

Commit

Permalink
Update erc20-permit.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng authored Sep 7, 2024
1 parent a23b602 commit cba5b51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions static/scripts/rewards/web3/erc20-permit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,7 @@ export function claimErc20PermitHandlerWrapper(app: AppState) {
const tx: TransactionResponse = await transferFromPermit(permit2Contract, app);
if (!tx) return;

viewClaimButton.onclick = () => {
window.open(`https://blockscan.com/tx/${tx.hash}`, "_blank");
};
viewClaimButton.onclick = () => window.open(`https://blockscan.com/tx/${tx.hash}`, "_blank");

buttonController.showViewClaim();
buttonController.hideLoader();
Expand Down

0 comments on commit cba5b51

Please sign in to comment.