From 5ef3a214afa2735f5a087d33948082816ff9c1e9 Mon Sep 17 00:00:00 2001 From: Jordan Frankfurt Date: Thu, 1 Aug 2024 13:32:55 -0500 Subject: [PATCH] duplicate success transfer logic (#776) --- apps/web/src/components/Basenames/RegistrationContext.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/Basenames/RegistrationContext.tsx b/apps/web/src/components/Basenames/RegistrationContext.tsx index 08a6728b4d..2d300c8f15 100644 --- a/apps/web/src/components/Basenames/RegistrationContext.tsx +++ b/apps/web/src/components/Basenames/RegistrationContext.tsx @@ -206,6 +206,7 @@ export default function RegistrationProvider({ children }: RegistrationProviderP if (transactionIsSuccess && registrationStep === RegistrationSteps.Pending) { if (transactionData.status === 'success') { logEventWithContext('register_name_transaction_success', ActionType.change); + setRegistrationStep(RegistrationSteps.Success); } if (transactionData.status === 'reverted') {