Skip to content

Commit

Permalink
feat: open 'showMore' after quote refresh for non-auto slippage
Browse files Browse the repository at this point in the history
  • Loading branch information
dmy147 committed Dec 19, 2024
1 parent 0bae1a2 commit 12c7e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/views/Swap/Component/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export const Main = () => {

const noQuote = useDebounceValue(noQuoteOrigin, 16);

if (noQuote && !showMoreOpen) {
if ((noQuote || !autoSlippage) && !showMoreOpen) {
setShowMoreOpen(true);
}

Expand Down

0 comments on commit 12c7e2d

Please sign in to comment.