diff --git a/src/components/Attest/CreatePreview.tsx b/src/components/Attest/CreatePreview.tsx index 28b5ea5dc..499f06a6c 100644 --- a/src/components/Attest/CreatePreview.tsx +++ b/src/components/Attest/CreatePreview.tsx @@ -48,7 +48,9 @@ export default function CreatePreview() { > {explainerString} - {createTx ? : null} + {createTx ? ( + + ) : null} {howToAddToTokenListUrl ? ( Remember to add the token to the{" "} diff --git a/src/components/Migration/EvmQuickMigrate.tsx b/src/components/Migration/EvmQuickMigrate.tsx index 23e57d197..cef47dbf3 100644 --- a/src/components/Migration/EvmQuickMigrate.tsx +++ b/src/components/Migration/EvmQuickMigrate.tsx @@ -177,7 +177,11 @@ function EvmMigrationLineItem({ Successfully migrated your tokens. They will become available once this transaction confirms. - + ); diff --git a/src/components/Migration/EvmWorkflow.tsx b/src/components/Migration/EvmWorkflow.tsx index 9d12edb81..2172cda19 100644 --- a/src/components/Migration/EvmWorkflow.tsx +++ b/src/components/Migration/EvmWorkflow.tsx @@ -223,7 +223,11 @@ export default function EvmWorkflow({ Successfully migrated your tokens! They will be available once this transaction confirms. - + ) : null} diff --git a/src/components/NFT/RedeemPreview.tsx b/src/components/NFT/RedeemPreview.tsx index a17d4becf..bab515f4e 100644 --- a/src/components/NFT/RedeemPreview.tsx +++ b/src/components/NFT/RedeemPreview.tsx @@ -33,7 +33,9 @@ export default function RedeemPreview() { > {explainerString} - {redeemTx ? : null} + {redeemTx ? ( + + ) : null} Transfer Another NFT! diff --git a/src/components/ShowTx.tsx b/src/components/ShowTx.tsx index 87f0c44e1..4d9233711 100644 --- a/src/components/ShowTx.tsx +++ b/src/components/ShowTx.tsx @@ -42,7 +42,7 @@ const useStyles = makeStyles((theme) => ({ marginTop: 20, }, wormscanButton: { - position: "relative" + position: "relative", }, newTag: { position: "absolute", @@ -59,7 +59,7 @@ const useStyles = makeStyles((theme) => ({ export default function ShowTx({ chainId, tx, - showWormscanLink = true + showWormscanLink = true, }: { chainId: ChainId; tx: Transaction; @@ -213,8 +213,8 @@ export default function ShowTx({ View on {explorerName} ) : null} - {showExplorerLink && showWormscanLink && tx.id - && (
+ {showExplorerLink && showWormscanLink && tx.id && ( +
- )} + )}
); diff --git a/src/components/Transfer/RedeemPreview.tsx b/src/components/Transfer/RedeemPreview.tsx index 3c7b74f43..4e84185c6 100644 --- a/src/components/Transfer/RedeemPreview.tsx +++ b/src/components/Transfer/RedeemPreview.tsx @@ -44,7 +44,9 @@ export default function RedeemPreview({ > {explainerString} - {redeemTx ? : null} + {redeemTx ? ( + + ) : null} diff --git a/src/utils/consts.ts b/src/utils/consts.ts index 3192bc2b9..9da3c2e37 100644 --- a/src/utils/consts.ts +++ b/src/utils/consts.ts @@ -2050,7 +2050,8 @@ export const getAssetAddressNative = ( return hexToNativeAssetString(uint8ArrayToHex(address), chainId); }; - export const getWormholescanLink = (tx: string) => { - return `https://wormholescan.io/#/tx/${tx}?network=${process.env.REACT_APP_CLUSTER === "mainnet" ? 'MAINNET' : 'TESTNET'}` -} \ No newline at end of file + return `https://wormholescan.io/#/tx/${tx}?network=${ + process.env.REACT_APP_CLUSTER === "mainnet" ? "MAINNET" : "TESTNET" + }`; +};