Skip to content

Commit

Permalink
feat(kda): improve warning in cross chain transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
ayelenmurano committed Nov 1, 2024
1 parent 8b09db6 commit 1bc653c
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ const OperationDetailsExtra = ({
<>
<OpDetailsSection>
<OpDetailsTitle>
<Trans i18nKey={"operationDetails.extra.receiverChainId"} />
<Trans i18nKey={"operationDetails.extra.senderChainId"} />
</OpDetailsTitle>
<OpDetailsData>{operation.extra.receiverChainId}</OpDetailsData>
<OpDetailsData>{operation.extra.senderChainId}</OpDetailsData>
</OpDetailsSection>
<OpDetailsSection>
<OpDetailsTitle>
<Trans i18nKey={"operationDetails.extra.senderChainId"} />
<Trans i18nKey={"operationDetails.extra.receiverChainId"} />
</OpDetailsTitle>
<OpDetailsData>{operation.extra.senderChainId}</OpDetailsData>
<OpDetailsData>{operation.extra.receiverChainId}</OpDetailsData>
</OpDetailsSection>
{operation.extra.receiverChainId !== operation.extra.senderChainId ? (
{operation.extra.receiverChainId !== operation.extra.senderChainId &&
operation.type === "OUT" ? (
<OpDetailsSection>
<OpDetailsData
style={{ display: "flex", flexDirection: "column", alignItems: "flex-end" }}
Expand Down

0 comments on commit 1bc653c

Please sign in to comment.