Skip to content

Commit c9d7b73

Browse files
committed
Swapped fieldset for pure button
1 parent ca0add4 commit c9d7b73

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

messages/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
"common_unstaking": "Unstaking",
298298
"common_usable_for": "Usable for",
299299
"common_use_current_public_keys": "Use the public keys from my current account",
300+
"common_use_custom_public_keys": "Enter a custom owner and active public key",
300301
"common_used": "Used",
301302
"common_value": "Value",
302303
"common_value_with_amount": "Value: {amount}",

src/routes/[network]/(account)/create-account/direct/+page.svelte

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,11 @@
344344
onclick={handleMirrorKeys}
345345
class={!showAll && f.current !== 'publickey' ? 'hidden' : ''}
346346
>
347-
<fieldset class="flex items-center gap-3">
348-
<Checkbox checked={mirrorKeys} id="mirror-keys" />
349-
<Label for="mirror-keys">{m.common_use_current_public_keys()}</Label>
350-
</fieldset>
347+
{#if mirrorKeys}
348+
{m.common_use_custom_public_keys()}
349+
{:else}
350+
{m.common_use_current_public_keys()}
351+
{/if}
351352
</Button>
352353
{/snippet}
353354

0 commit comments

Comments
 (0)