diff --git a/apps/cowswap-frontend/src/modules/limitOrders/hooks/useHandleOrderPlacement.ts b/apps/cowswap-frontend/src/modules/limitOrders/hooks/useHandleOrderPlacement.ts index 33dc2aae5a..076480d5a9 100644 --- a/apps/cowswap-frontend/src/modules/limitOrders/hooks/useHandleOrderPlacement.ts +++ b/apps/cowswap-frontend/src/modules/limitOrders/hooks/useHandleOrderPlacement.ts @@ -13,8 +13,8 @@ import { tradeFlow } from 'modules/limitOrders/services/tradeFlow' import { PriceImpactDeclineError, TradeFlowContext } from 'modules/limitOrders/services/types' import { LimitOrdersSettingsState } from 'modules/limitOrders/state/limitOrdersSettingsAtom' import { partiallyFillableOverrideAtom } from 'modules/limitOrders/state/partiallyFillableOverride' +import { useNavigateToAllOrdersTable } from 'modules/ordersTable' import { useCloseReceiptModal } from 'modules/ordersTable/containers/OrdersReceiptModal/hooks' -import { useNavigateToAllOrdersTable } from 'modules/ordersTable/hooks/useNavigateToAllOrdersTable' import { TradeConfirmActions } from 'modules/trade/hooks/useTradeConfirmActions' import { useAlternativeOrder, useHideAlternativeOrderModal } from 'modules/trade/state/alternativeOrder' import { getSwapErrorMessage } from 'modules/trade/utils/swapErrorHelper' diff --git a/apps/cowswap-frontend/src/modules/ordersTable/pure/OrderStatusBox/getOrderStatusTitleAndColor.test.ts b/apps/cowswap-frontend/src/modules/ordersTable/pure/OrderStatusBox/getOrderStatusTitleAndColor.test.ts index 93f4fa82b8..d18dfbe173 100644 --- a/apps/cowswap-frontend/src/modules/ordersTable/pure/OrderStatusBox/getOrderStatusTitleAndColor.test.ts +++ b/apps/cowswap-frontend/src/modules/ordersTable/pure/OrderStatusBox/getOrderStatusTitleAndColor.test.ts @@ -42,8 +42,8 @@ describe('getOrderStatusTitleAndColor()', () => { when(orderMock.isCancelling).thenReturn(true) const result = getResult() expect(result.title).toBe('Cancelling...') - expect(result.color).toBe(`var(${UI.COLOR_TEXT})`) - expect(result.background).toBe(`var(${UI.COLOR_TEXT_OPACITY_10})`) + expect(result.color).toBe(`var(${UI.COLOR_DANGER_TEXT})`) + expect(result.background).toBe(`var(${UI.COLOR_DANGER_BG})`) }) it('should return correct title and colors for a cancelled order', () => {