Fix clearFilters to reset bookKeys instead of books to avoid undefined includes error.

This commit is contained in:
andupetcu
2025-09-20 18:15:48 +03:00
parent 810fa9293e
commit 75476a85c9

View File

@@ -182,7 +182,7 @@ export default function SearchPage() {
const clearFilters = () => { const clearFilters = () => {
setFilters({ setFilters({
testament: 'all', testament: 'all',
books: [], bookKeys: [],
exactMatch: false, exactMatch: false,
}) })
} }