Skip to content

Commit

Permalink
Merge pull request #134 from Proof-Of-Humanity/testnets
Browse files Browse the repository at this point in the history
Testnets
  • Loading branch information
martillansky authored Nov 2, 2024
2 parents c644db2 + e80e5c6 commit b64bdc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/data/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ const sanitize = (res: MeQuery[]) => {
if (claimer.claimer?.currentRequest && claimer.claimer?.registration) {
if (claimer.claimer?.currentRequest.index <= -100) {
claimer.claimer.currentRequest = null;
} else {
} else if (res.filter((cl) => cl.claimer?.registration).length > 1) {
claimer.claimer.registration = null;
} else {
claimer.claimer.currentRequest = null;
}
}
});
Expand Down

0 comments on commit b64bdc2

Please sign in to comment.