Skip to content

Commit

Permalink
Merge branch 'add-safe-1.4-rebase' of https://github.com/zkemail/emai…
Browse files Browse the repository at this point in the history
…l-recovery-demo into add-safe-1.4-rebase
  • Loading branch information
wshino committed Sep 17, 2024
2 parents d8dbd93 + 94a5a44 commit 0066e6a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contracts.base-sepolia.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"safeEmailRecoveryModule": "0x33223cAE80Adb25111Ad96F663aB82571b44F714",
"safeEmailRecoveryModule": "0x0709fa55f8D887a0B83E5776D59a5cF050aCED33",
"universalEmailRecoveryModule": "0xc0EFFe5d3D240d35450A43a3F9Ebd98091f2e6a7"
}
14 changes: 7 additions & 7 deletions src/components/RequestedRecoveries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ const RequestedRecoveries = () => {

console.log(getRecoveryRequest.currentWeight, getGuardianConfig.threshold);

if (getRecoveryRequest.currentWeight < getGuardianConfig.threshold && getGuardianConfig.threshold!==0n) {
setButtonState(BUTTON_STATES.TRIGGER_RECOVERY);
} else {
setButtonState(BUTTON_STATES.COMPLETE_RECOVERY);
setLoading(false);
clearInterval(interval);
}
// if (getRecoveryRequest.currentWeight < getGuardianConfig.threshold && getGuardianConfig.threshold!==0n) {
// setButtonState(BUTTON_STATES.TRIGGER_RECOVERY);
// } else {
// setButtonState(BUTTON_STATES.COMPLETE_RECOVERY);
// setLoading(false);
// clearInterval(interval);
// }
setIsButtonStateLoading(false);
};

Expand Down

0 comments on commit 0066e6a

Please sign in to comment.