Skip to content

Commit

Permalink
restore limits
Browse files Browse the repository at this point in the history
  • Loading branch information
mozzius committed Feb 3, 2025
1 parent 3b78733 commit 25f24c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/view/screens/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ export function SearchScreen(
const newSearchHistory = [
item,
...termHistory.filter(search => search !== item),
]
].slice(0, 6)
setTermHistory(newSearchHistory)
},
[termHistory, setTermHistory],
Expand All @@ -644,7 +644,7 @@ export function SearchScreen(
const newAccountHistory = [
item.did,
...accountHistory.filter(p => p !== item.did),
]
].slice(0, 5)
setAccountHistory(newAccountHistory)
},
[accountHistory, setAccountHistory],
Expand Down

0 comments on commit 25f24c7

Please sign in to comment.