Skip to content

Commit

Permalink
fix: lo filter
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Oct 30, 2023
1 parent 591a152 commit 2a08713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/swapv2/LimitOrder/ListOrder/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ export default function ListLimitOrder() {
const onSelectTab = (type: LimitOrderStatus) => {
setOrderType(type)
onReset()
navigate({ search: stringify(qs) }, { replace: true })
if (!window.location.pathname.includes(APP_PATHS.PARTNER_SWAP))
navigate({ search: stringify(qs) }, { replace: true })
}

const onChangeKeyword = (val: string) => {
Expand Down

0 comments on commit 2a08713

Please sign in to comment.