diff --git a/src/views/ImportAccountView.vue b/src/views/ImportAccountView.vue index 46d16c50..dff34e89 100644 --- a/src/views/ImportAccountView.vue +++ b/src/views/ImportAccountView.vue @@ -22,10 +22,11 @@ type="text" placeholder="Seed Phrase" class="block w-full rounded border border-slate-400 mb-4 px-3 py-2" + value="{{ mnemonic }}" />
- @@ -48,8 +49,15 @@ import { Options, Vue } from "vue-class-component"; components: {}, }) export default class ImportAccountView extends Vue { + mnemonic = ""; public onCancelClick() { this.$router.back(); } + public import() { + // just to get rid of variability that might cause an error + if (this.mnemonic.trim().length > 0) { + this.mnemonic = this.mnemonic.trim().toLowerCase(); + } + } }