Skip to content

Commit

Permalink
fix identity
Browse files Browse the repository at this point in the history
  • Loading branch information
crystalin committed Oct 28, 2024
1 parent 721904e commit c8309d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/monitoring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const getAccountIdentity = async (
: [null, null];
identityCache[account] = {
lastUpdate: Date.now(),
identity: identity[0],
identity: identity?.[0],
superOf:
superOfIdentity && ("info" in superOfIdentity ? superOfIdentity : superOfIdentity[0]),
};
Expand Down

0 comments on commit c8309d8

Please sign in to comment.