|
8 | 8 | import Identifier from '$lib/components/ui/Identifier.svelte';
|
9 | 9 | import Value from '$lib/components/ui/Value.svelte';
|
10 | 10 | import WalletBalance from '$lib/components/wallet/WalletBalance.svelte';
|
11 |
| - import WalletLoader from '$lib/components/wallet/WalletLoader.svelte'; |
12 | 11 | import { PAGINATION } from '$lib/constants/constants';
|
13 | 12 | import { MISSION_CONTROL_v0_0_12 } from '$lib/constants/version.constants';
|
14 | 13 | import { authSignedIn, authSignedOut } from '$lib/derived/auth.derived';
|
|
95 | 94 | </script>
|
96 | 95 |
|
97 | 96 | {#if $authSignedIn}
|
98 |
| - <WalletLoader {missionControlId}> |
99 |
| - <div class="card-container with-title"> |
100 |
| - <span class="title">{$i18n.wallet.overview}</span> |
101 |
| - |
102 |
| - <div class="columns-3 fit-column-1"> |
103 |
| - <div> |
104 |
| - <Value> |
105 |
| - {#snippet label()} |
106 |
| - {$i18n.wallet.wallet_id} |
107 |
| - {/snippet} |
108 |
| - <Identifier shorten={false} small={false} identifier={missionControlId.toText()} /> |
109 |
| - </Value> |
110 |
| - |
111 |
| - <Value> |
112 |
| - {#snippet label()} |
113 |
| - {$i18n.wallet.account_identifier} |
114 |
| - {/snippet} |
115 |
| - <Identifier identifier={accountIdentifier?.toHex() ?? ''} small={false} /> |
116 |
| - </Value> |
117 |
| - </div> |
118 |
| - |
119 |
| - <div> |
120 |
| - <WalletBalance balance={$balance} /> |
121 |
| - </div> |
| 97 | + <div class="card-container with-title"> |
| 98 | + <span class="title">{$i18n.wallet.overview}</span> |
| 99 | + |
| 100 | + <div class="columns-3 fit-column-1"> |
| 101 | + <div> |
| 102 | + <Value> |
| 103 | + {#snippet label()} |
| 104 | + {$i18n.wallet.wallet_id} |
| 105 | + {/snippet} |
| 106 | + <Identifier shorten={false} small={false} identifier={missionControlId.toText()} /> |
| 107 | + </Value> |
| 108 | + |
| 109 | + <Value> |
| 110 | + {#snippet label()} |
| 111 | + {$i18n.wallet.account_identifier} |
| 112 | + {/snippet} |
| 113 | + <Identifier identifier={accountIdentifier?.toHex() ?? ''} small={false} /> |
| 114 | + </Value> |
| 115 | + </div> |
| 116 | + |
| 117 | + <div> |
| 118 | + <WalletBalance balance={$balance} /> |
122 | 119 | </div>
|
123 | 120 | </div>
|
| 121 | + </div> |
124 | 122 |
|
125 |
| - <div class="toolbar"> |
126 |
| - <button onclick={openReceive}>{$i18n.wallet.receive}</button> |
| 123 | + <div class="toolbar"> |
| 124 | + <button onclick={openReceive}>{$i18n.wallet.receive}</button> |
127 | 125 |
|
128 |
| - <button onclick={openSend}>{$i18n.wallet.send}</button> |
129 |
| - </div> |
| 126 | + <button onclick={openSend}>{$i18n.wallet.send}</button> |
| 127 | + </div> |
130 | 128 |
|
131 |
| - <Transactions |
132 |
| - transactions={$transactions} |
133 |
| - {disableInfiniteScroll} |
134 |
| - {missionControlId} |
135 |
| - {onintersect} |
136 |
| - /> |
| 129 | + <Transactions |
| 130 | + transactions={$transactions} |
| 131 | + {disableInfiniteScroll} |
| 132 | + {missionControlId} |
| 133 | + {onintersect} |
| 134 | + /> |
137 | 135 |
|
138 |
| - <TransactionsExport transactions={$transactions} {missionControlId} /> |
139 |
| - </WalletLoader> |
| 136 | + <TransactionsExport transactions={$transactions} {missionControlId} /> |
140 | 137 | {/if}
|
141 | 138 |
|
142 | 139 | <ReceiveTokens bind:visible={receiveVisible} {missionControlId} />
|
0 commit comments