Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed Aug 19, 2024
1 parent 19820ab commit affe9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/factory/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class DTOCollectionFactory {
const walletAccounts = connectionStore.accounts.map((account) => publicKeyToAddress(account.address));
accounts.push(...walletAccounts);
}
if (appStore.user?.walletAccounts?.lengths) {
if (appStore.user?.walletAccounts?.length) {
const walletAccounts = appStore.user?.walletAccounts?.map((account) => publicKeyToAddress(account));
accounts.push(...walletAccounts);
}
Expand Down

0 comments on commit affe9b0

Please sign in to comment.