diff --git a/web/src/components/HomeSidebar/TagsSection.tsx b/web/src/components/HomeSidebar/TagsSection.tsx index a06c9334..28dc4cf9 100644 --- a/web/src/components/HomeSidebar/TagsSection.tsx +++ b/web/src/components/HomeSidebar/TagsSection.tsx @@ -11,10 +11,8 @@ import showRenameTagDialog from "../RenameTagDialog"; const TagsSection = () => { const t = useTranslate(); - const filterStore = useFilterStore(); const tagStore = useTagStore(); const memoList = useMemoList(); - const filter = filterStore.state; const tagAmounts = Object.entries(tagStore.getState().tagAmounts) .sort((a, b) => a[0].localeCompare(b[0])) .sort((a, b) => b[1] - a[1]); @@ -55,9 +53,9 @@ const TagsSection = () => { {tagAmounts.length > 0 ? ( -