Update order status list

This commit is contained in:
aftermath2
2025-03-24 10:42:05 -03:00
parent 0d932feedb
commit 2b63c0fbfc

View File

@ -226,7 +226,7 @@ const TradeBox = ({ currentOrder, onStartAgain }: TradeBoxProps): JSX.Element =>
const cancel = function (): void {
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 });
submitAction({