From 75476a85c9dfecf4a0a7e37949b075fd76dba022 Mon Sep 17 00:00:00 2001 From: andupetcu <47487320+andupetcu@users.noreply.github.com> Date: Sat, 20 Sep 2025 18:15:48 +0300 Subject: [PATCH] Fix clearFilters to reset bookKeys instead of books to avoid undefined includes error. --- app/[locale]/search/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/[locale]/search/page.tsx b/app/[locale]/search/page.tsx index 3e53853..9bbe6e0 100644 --- a/app/[locale]/search/page.tsx +++ b/app/[locale]/search/page.tsx @@ -182,7 +182,7 @@ export default function SearchPage() { const clearFilters = () => { setFilters({ testament: 'all', - books: [], + bookKeys: [], exactMatch: false, }) }