Fix clearFilters to reset bookKeys instead of books to avoid undefined includes error.
This commit is contained in:
@@ -182,7 +182,7 @@ export default function SearchPage() {
|
||||
const clearFilters = () => {
|
||||
setFilters({
|
||||
testament: 'all',
|
||||
books: [],
|
||||
bookKeys: [],
|
||||
exactMatch: false,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user