Skip to content

Commit

Permalink
fix(review): handle user rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarm22 committed Sep 23, 2024
1 parent e78a4e4 commit 10d5727
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions wormhole-connect/src/views/v2/Bridge/ReviewTransaction/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,14 @@ const ReviewTransaction = (props: Props) => {
destinationGasDrop={receiveNativeAmount}
quote={quote}
/>
<Collapse in={showGasSlider}>
<GasSlider
destinationGasDrop={receiveNativeAmount || 0}
disabled={isGasSliderDisabled}
/>
</Collapse>
{showGasSlider && (
<Collapse in={showGasSlider}>
<GasSlider
destinationGasDrop={receiveNativeAmount || 0}
disabled={isGasSliderDisabled}
/>
</Collapse>
)}
<SendError humanError={sendError} internalError={sendErrorInternal} />
{confirmTransactionButton}
</Stack>
Expand Down

0 comments on commit 10d5727

Please sign in to comment.