From 4b9766b6b222fefabe989e6c971e61968511b7f7 Mon Sep 17 00:00:00 2001 From: kleyberthsantos Date: Thu, 26 Dec 2024 18:14:04 -0300 Subject: [PATCH] fix: clear error state before retrying hash prefill --- .../components/setup/screens/verifyGuardians/VerifyGuardians.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/router/src/guardian-ui/components/setup/screens/verifyGuardians/VerifyGuardians.tsx b/apps/router/src/guardian-ui/components/setup/screens/verifyGuardians/VerifyGuardians.tsx index 386ea5a89..ddb92ce2e 100644 --- a/apps/router/src/guardian-ui/components/setup/screens/verifyGuardians/VerifyGuardians.tsx +++ b/apps/router/src/guardian-ui/components/setup/screens/verifyGuardians/VerifyGuardians.tsx @@ -104,6 +104,7 @@ export const VerifyGuardians: React.FC = ({ next }) => { ); // Prefill hashes if already verified + setError(undefined); if ( peers[ourCurrentId].status === GuardianServerStatus.VerifiedConfigs ) {