We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2672443 + 0ec9be8 commit 7425bb0Copy full SHA for 7425bb0
.changeset/slick-clubs-float.md
@@ -0,0 +1,5 @@
1
+---
2
+'@relayprotocol/relay-kit-ui': patch
3
4
+
5
+Remove gas top up re-enabling on swap success
packages/ui/src/components/widgets/SwapWidget/index.tsx
@@ -724,7 +724,6 @@ const SwapWidget: FC<SwapWidgetProps> = ({
724
setSwapError={setSwapError}
725
onSwapSuccess={(data) => {
726
setPendingSuccessFlush(true)
727
- setGasTopUpEnabled(true)
728
setAmountInputValue('')
729
setAmountOutputValue('')
730
onSwapSuccess?.(data)
0 commit comments