From 96babf8e2d9d0970fe1642b037b16b9688ea23f0 Mon Sep 17 00:00:00 2001 From: fishshi <2855691008@qq.com> Date: Wed, 1 Jan 2025 22:51:08 +0800 Subject: [PATCH 1/2] Filter Deduplication and Fix Tooltip --- src/renderer/src/components/Game/FilterAdder.tsx | 6 ++++-- src/renderer/src/components/Librarybar/Filter/main.tsx | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/components/Game/FilterAdder.tsx b/src/renderer/src/components/Game/FilterAdder.tsx index 64629f3..cd292bd 100644 --- a/src/renderer/src/components/Game/FilterAdder.tsx +++ b/src/renderer/src/components/Game/FilterAdder.tsx @@ -12,7 +12,7 @@ export function FilterAdder({ value: string className?: string }): JSX.Element { - const { addFilter, updateFilter } = useFilterStore() + const { filter, addFilter, updateFilter } = useFilterStore() return (