fix(gui): Hide manual cancel and refund button (#142)

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.
This commit is contained in:
binarybaron 2024-11-09 12:27:57 +01:00 committed by GitHub
parent 3c551c86b2
commit 1867b009b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
@ -128,7 +128,6 @@ const BitcoinPossiblyCancelledAlert = ({
</>,
]}
/>
<SwapCancelRefundButton swap={swap} size="small" variant="contained" />
</Box>
);
};