File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
packages/ui/src/components/widgets Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @relayprotocol/relay-kit-ui ' : patch
3+ ---
4+
5+ Reimplement explicitDeposit logic
Original file line number Diff line number Diff line change @@ -642,12 +642,11 @@ const SwapWidgetRenderer: FC<SwapWidgetRendererProps> = ({
642642 refundTo : fromToken ?. chainId === 1337 ? address : undefined ,
643643 slippageTolerance : slippageTolerance ,
644644 topupGas : gasTopUpEnabled && gasTopUpRequired ,
645- protocolVersion : quoteProtocol
646- //Disabled temporarily for investigation
647- // ...(quoteProtocol === 'preferV2' &&
648- // explicitDeposit !== undefined && {
649- // explicitDeposit: explicitDeposit
650- // })
645+ protocolVersion : quoteProtocol ,
646+ ...( quoteProtocol === 'preferV2' &&
647+ explicitDeposit !== undefined && {
648+ explicitDeposit : explicitDeposit
649+ } )
651650 }
652651 : undefined
653652
You can’t perform that action at this time.
0 commit comments