From ea9a4b3300a39bf4d49abc93e6505e3d1b4d288a Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Mon, 9 Jun 2025 12:08:32 +0800 Subject: [PATCH] quick update --- src/components/SearchBox/SearchBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SearchBox/SearchBox.tsx b/src/components/SearchBox/SearchBox.tsx index e35c994..a0f0e54 100644 --- a/src/components/SearchBox/SearchBox.tsx +++ b/src/components/SearchBox/SearchBox.tsx @@ -98,7 +98,7 @@ function SearchBox({ const defaultAll: AutocompleteOptions = { value: "All", label: t("All"), group: t("All") } const defaultInputs = useMemo( () => - criteria.reduce>( + criteria.reduce>( (acc, c) => { return { ...acc, @@ -106,7 +106,7 @@ function SearchBox({ : (c.type === "autocomplete" && Boolean(c.multiple)) ? [defaultAll.value]: "") }; }, - {} as Record, + {} as Record, ), [criteria], );