Closed YanYuanFE closed 1 week ago
@YanYuanFE is attempting to deploy a commit to the LFG Labs Team on Vercel.
A member of the Team first needs to authorize it.
The changes involve the introduction of a new state variable txHash
in the IdentityActions
component. This variable is initialized as an empty string and is updated with transaction hashes from mainDomainData
and disableRenewalData
during transaction processing. The txHash
is then used in the TxConfirmationModal
component, replacing the direct use of mainDomainData?.transaction_hash
. This centralizes transaction hash management within the component's state.
File | Change Summary |
---|---|
components/identities/actions/identityActions.tsx | Added a new state variable txHash initialized as an empty string and updated it with transaction hashes from two data sources. |
sequenceDiagram
participant User
participant IdentityActions
participant TxConfirmationModal
User->>IdentityActions: Initiate Transaction
IdentityActions->>IdentityActions: Update txHash from mainDomainData
IdentityActions->>IdentityActions: Update txHash from disableRenewalData
IdentityActions->>TxConfirmationModal: Pass txHash
TxConfirmationModal->>User: Display Confirmation
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
…Renewal
Summary by CodeRabbit
New Features
Bug Fixes