Skip to content

Commit efa0b48

Browse files
committed
nit
1 parent 1ec1f46 commit efa0b48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/transactions/Swap/modals/request/BaseSwapModalContent.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import {
2727
SwapProvider,
2828
SwapState,
2929
swapStateFromParamsOrDefault,
30+
SwapType,
3031
} from '../../types';
3132
import { SwapPostInputWarnings } from '../../warnings/SwapPostInputWarnings';
3233
import { SwapPreInputWarnings } from '../../warnings/SwapPreInputWarnings';
@@ -135,7 +136,7 @@ export const BaseSwapModalContent = ({
135136

136137
{params.allowLimitOrders &&
137138
state.provider === SwapProvider.COW_PROTOCOL &&
138-
state.isSwapFlowSelected && (
139+
(state.isSwapFlowSelected || state.swapType !== SwapType.CollateralSwap) && (
139140
<OrderTypeSelector
140141
switchType={state.orderType}
141142
limitsOrderButtonBlocked={state.limitsOrderButtonBlocked ?? false}

0 commit comments

Comments
 (0)