Skip to content

Commit

Permalink
fix: remove duplicate transfer notification steps (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosepuppy committed Sep 5, 2024
1 parent 7b8e9c2 commit 26a2109
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/views/notifications/TransferStatusNotification/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ export const TransferStatusNotification = ({
)}
</>
)}
<div>{stringGetter({ key: STRING_KEYS.KEEP_WINDOW_OPEN })}</div>
{!isToast && !isComplete && !hasError && !isCosmosDeposit && (
<TransferStatusSteps status={status} type={type} tw="px-0 pb-0 pt-0.5" />
)}
Expand All @@ -201,17 +202,7 @@ export const TransferStatusNotification = ({
</div>
</>
) : (
<>
{content}
{!isCosmosDeposit && !isComplete && (
<>
<div>{stringGetter({ key: STRING_KEYS.KEEP_WINDOW_OPEN })}</div>
{!isToast && !hasError && (
<TransferStatusSteps status={status} type={type} tw="px-0 pb-0 pt-0.5" />
)}
</>
)}
</>
content
)}
</div>
}
Expand Down

0 comments on commit 26a2109

Please sign in to comment.