diff --git a/static/scripts/rewards/web3/erc20-permit.ts b/static/scripts/rewards/web3/erc20-permit.ts index d5522eee..fcce270d 100644 --- a/static/scripts/rewards/web3/erc20-permit.ts +++ b/static/scripts/rewards/web3/erc20-permit.ts @@ -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();