Refactor search history (#8260)

This commit is contained in:
Eric Bailey
2025-04-21 19:16:59 -05:00
committed by GitHub
parent 8a602bf9f6
commit 0a7734f9ed
2 changed files with 73 additions and 107 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ export function SearchScreenShell({
const newAccountHistory = [
item.did,
...accountHistory.filter(p => p !== item.did),
].slice(0, 5)
].slice(0, 10)
setAccountHistory(newAccountHistory)
},
[accountHistory, setAccountHistory],