wip: migrate frontend to new backend

This commit is contained in:
2024-02-09 15:33:27 +07:00
parent ec78cf8bf7
commit 739ba63e6c
55 changed files with 351 additions and 933 deletions

View File

@@ -11,9 +11,11 @@ export class Ark {
public async verify_signer() {
try {
const cmd: string = await invoke("verify_signer");
if (!cmd) return false;
this.account.pubkey = cmd;
return true;
if (cmd) {
this.account.pubkey = cmd;
return true;
}
return false;
} catch (e) {
console.error(String(e));
}