File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/components/transactions/Swap/modals/request Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ import {
2727 SwapProvider ,
2828 SwapState ,
2929 swapStateFromParamsOrDefault ,
30+ SwapType ,
3031} from '../../types' ;
3132import { SwapPostInputWarnings } from '../../warnings/SwapPostInputWarnings' ;
3233import { 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 }
You can’t perform that action at this time.
0 commit comments