Skip to content

Commit 9f3eadc

Browse files
authored
Merge pull request #736 from reservoirprotocol/feature/bump-protocol-usd-limit
Bump protocol usd limit
2 parents 0a885c7 + 2669722 commit 9f3eadc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/gentle-bags-know.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@reservoir0x/relay-kit-ui': patch
3+
---
4+
5+
Bump USD threshold for protocolv2 logic

packages/ui/src/components/widgets/SwapWidgetRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ const SwapWidgetRenderer: FC<SwapWidgetRendererProps> = ({
562562
? calculateUsdValue(relevantPrice, amount)
563563
: undefined
564564

565-
return usdAmount !== undefined && usdAmount <= 10 ? 'preferV2' : undefined
565+
return usdAmount !== undefined && usdAmount <= 50 ? 'preferV2' : undefined
566566
} else {
567567
return undefined
568568
}

0 commit comments

Comments
 (0)