Skip to content

Commit 4da3fce

Browse files
feat: add onlyOnSale when not present for ENS section (#2384)
1 parent 24ffbe1 commit 4da3fce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webapp/src/modules/routing/sagas.ts

+3
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,9 @@ function* deriveCurrentOptions(previous: BrowseOptions, current: BrowseOptions)
514514
if (window.location.pathname !== locations.currentAccount()) {
515515
newOptions.onlyOnSale = previous.onlyOnSale === undefined ? true : current.onlyOnSale
516516
}
517+
if (current.onlyOnSale === undefined) {
518+
newOptions.onlyOnSale = true
519+
}
517520

518521
break
519522
}

0 commit comments

Comments
 (0)