diff --git a/docs/docs/tutorials/index.md b/docs/docs/tutorials/index.md index bf3540c61..296346658 100644 --- a/docs/docs/tutorials/index.md +++ b/docs/docs/tutorials/index.md @@ -5,8 +5,6 @@ sidebar_position: 3 # Tutorials -* [How to send USDC from Ethereum to Solana](./how-to-send-usdc-from-ethereum-to-solana.md) -* [How to send USDC from Solana to Ethereum](./how-to-send-usdc-from-solana-to-ethereum.md) * [Token/NFT Redeem Workflow](./how-to-use-recovery-workflow.md) * [How to use NFT Bridge](./how-to-use-nft-bridge.md) * [How to use NFT Origin tool](./how-to-use-nft-origin-tool.md) diff --git a/src/components/Migration/EvmQuickMigrate.tsx b/src/components/Migration/EvmQuickMigrate.tsx index aab65b695..ff1ed41ba 100644 --- a/src/components/Migration/EvmQuickMigrate.tsx +++ b/src/components/Migration/EvmQuickMigrate.tsx @@ -147,9 +147,8 @@ function EvmMigrationLineItem({ poolInfo.data.migrator.address, migrationAmountAbs ); - const transaction = await poolInfo.data.migrator.migrate( - migrationAmountAbs - ); + const transaction = + await poolInfo.data.migrator.migrate(migrationAmountAbs); await transaction.wait(); setTransaction(transaction.hash); enqueueSnackbar(null, { diff --git a/src/components/SolanaCreateAssociatedAddress.tsx b/src/components/SolanaCreateAssociatedAddress.tsx index 9d1676589..92d454a4f 100644 --- a/src/components/SolanaCreateAssociatedAddress.tsx +++ b/src/components/SolanaCreateAssociatedAddress.tsx @@ -58,9 +58,8 @@ export function useAssociatedAccountExistsState( ); const match = associatedAddress.toString() === readableTargetAddress; if (match) { - const associatedAddressInfo = await connection.getAccountInfo( - associatedAddress - ); + const associatedAddressInfo = + await connection.getAccountInfo(associatedAddress); if (!associatedAddressInfo) { if (!cancelled) { setAssociatedAccountExists(false); @@ -112,9 +111,8 @@ export default function SolanaCreateAssociatedAddress({ ); const match = associatedAddress.toString() === readableTargetAddress; if (match) { - const associatedAddressInfo = await connection.getAccountInfo( - associatedAddress - ); + const associatedAddressInfo = + await connection.getAccountInfo(associatedAddress); if (!associatedAddressInfo) { setIsCreating(true); const transaction = new Transaction().add( diff --git a/src/hooks/useHandleRedeem.tsx b/src/hooks/useHandleRedeem.tsx index 92be801dc..0e5422268 100644 --- a/src/hooks/useHandleRedeem.tsx +++ b/src/hooks/useHandleRedeem.tsx @@ -185,9 +185,8 @@ async function evm( signer ); - const estimateGas = await L2WormholeGateway.estimateGas.receiveTbtc( - signedVAA - ); + const estimateGas = + await L2WormholeGateway.estimateGas.receiveTbtc(signedVAA); // We increase the gas limit estimation here by a factor of 10% to account for some faulty public JSON-RPC endpoints. const gasLimit = estimateGas.mul(1100).div(1000);