{#if $error} {#if $error.type === Failure.TransactionFailed}
{#if $error.message}
Error:
{$error.message} {:else if $error.txHash}
Error:
Transaction
{$error.txHash}
failed. {/if}
{/if} {/if}
Orgs
Register
{#if config && config.network.name == 'rinkeby'}
Rinkeby
{:else if config && config.network.name == 'homestead'} {:else}
No Network
{/if} {#if address}
{#if tokenBalance} {formatBalance(tokenBalance)}
RAD
{:else}
{/if}
disconnectWallet(config)} on:mouseover={() => sessionButtonHover = true} on:mouseout={() => sessionButtonHover = false} > {#await Profile.get(address, config)}
{:then profile} {#if sessionButtonHover} Disconnect {:else}
{formatAddress(address)} {/if} {/await}
{:else if config}
{/if}