Skip to content

Commit

Permalink
fix(gui): Hide manual cancel and refund button (#142)
Browse files Browse the repository at this point in the history
We no longer show the manual cancel and refund button. This functionality is currently not implemented in the GUI. The state machine should resume the swap as well. The functionality can be added back later.
  • Loading branch information
binarybaron authored Nov 9, 2024
1 parent 3c551c8 commit 1867b00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src-gui/src/renderer/components/alert/SwapStatusAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const BitcoinPossiblyCancelledAlert = ({
<MessageList
messages={[
"The swap was cancelled because it did not complete in time",
"You must resume the swap immediately to refund your Bitcoin. If that fails, you can manually refund it",
"You must resume the swap immediately to refund your Bitcoin",
<>
You might lose your funds if you do not refund within{" "}
<HumanizedBitcoinBlockDuration
Expand All @@ -128,7 +128,6 @@ const BitcoinPossiblyCancelledAlert = ({
</>,
]}
/>
<SwapCancelRefundButton swap={swap} size="small" variant="contained" />
</Box>
);
};
Expand Down

0 comments on commit 1867b00

Please sign in to comment.