Skip to content

Commit

Permalink
duplicate success transfer logic (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrankfurt authored Aug 1, 2024
1 parent 755e814 commit 5ef3a21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/components/Basenames/RegistrationContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit 5ef3a21

Please sign in to comment.