Skip to content

Commit 7425bb0

Browse files
authored
Merge pull request #783 from relayprotocol/ted/fix-gas-top-up-reenabled
Remove gas top up re-enabling on swap success
2 parents 2672443 + 0ec9be8 commit 7425bb0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changeset/slick-clubs-float.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,6 @@ const SwapWidget: FC<SwapWidgetProps> = ({
724724
setSwapError={setSwapError}
725725
onSwapSuccess={(data) => {
726726
setPendingSuccessFlush(true)
727-
setGasTopUpEnabled(true)
728727
setAmountInputValue('')
729728
setAmountOutputValue('')
730729
onSwapSuccess?.(data)

0 commit comments

Comments
 (0)