Skip to content

Commit

Permalink
dont reset swap form open setting
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Jul 20, 2023
1 parent 8cde0d9 commit 2daf019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/SwapV3/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export default function Swap() {
)}

<AppBodyWrapped data-highlight={shouldHighlightSwapBox} id={TutorialIds.SWAP_FORM}>
{activeTab === TAB.SWAP && (
{isSwapPage && (
<PopulatedSwapForm
onSelectSuggestedPair={onSelectSuggestedPair}
routeSummary={routeSummary}
Expand Down

0 comments on commit 2daf019

Please sign in to comment.