Skip to content

Commit

Permalink
chore: code linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Elabar committed Jan 2, 2025
1 parent d7e5f73 commit 3a83dd0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/meteor-wallet-app/src/lib/meteor-wallet-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory<
contractId?: string;
}
> = async ({ metadata }) => {
let signedInAccounts: Array<Account> = []
let signedInAccounts: Array<Account> = [];

return {
getContractId() {
return metadata.contractId;
},
async getAccounts() {
return signedInAccounts
return signedInAccounts;
},
async signAndSendTransaction(params) {
promiseId++;
Expand Down Expand Up @@ -146,12 +146,12 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory<
promiseId,
});

signedInAccounts = data
signedInAccounts = data;

return data;
},
async signOut() {
if(signedInAccounts.length > 0){
if (signedInAccounts.length > 0) {
promiseId++;

await tryPostOrFail<Array<Account>>({
Expand All @@ -160,7 +160,7 @@ const createMeteorWalletAppInjected: WalletBehaviourFactory<
promiseId,
});

signedInAccounts = []
signedInAccounts = [];
}
},
async verifyOwner() {
Expand Down

0 comments on commit 3a83dd0

Please sign in to comment.