mirror of
https://github.com/RoboSats/robosats.git
synced 2025-09-13 00:56:22 +00:00
Update order status list
This commit is contained in:
@ -226,7 +226,7 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element =>
|
|||||||
|
|
||||||
const cancel = function (): void {
|
const cancel = function (): void {
|
||||||
const order = garage.getSlot()?.activeOrder;
|
const order = garage.getSlot()?.activeOrder;
|
||||||
const noConfirmation = Boolean(order?.is_maker && [0, 1, 2].includes(order?.status));
|
const noConfirmation = Boolean(order?.is_maker && [0, 1, 2, 3].includes(order?.status));
|
||||||
|
|
||||||
setLoadingButtons({ ...noLoadingButtons, cancel: true });
|
setLoadingButtons({ ...noLoadingButtons, cancel: true });
|
||||||
submitAction({
|
submitAction({
|
||||||
|
|||||||
Reference in New Issue
Block a user