+ {state === 'pending' && 'Confirming transaction…'} + {state === 'failed' && 'Transaction failed'} + {state === 'timeout' && 'Still confirming'} +
++ {truncateTxHash(hash)} +
+ {state === 'failed' && errorMessage && ( ++ {errorMessage} +
+ )} + {state === 'timeout' && ( ++ This is taking longer than usual. Check the explorer for the + latest status. +
+ )} +