From daa0864a1eb2a4d2da75d9c7895ac0e608634df9 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 30 Mar 2025 20:43:09 +0800 Subject: [PATCH] . --- apps/blogai/components/article/article.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/blogai/components/article/article.tsx b/apps/blogai/components/article/article.tsx index 8f4412b..d62ce33 100644 --- a/apps/blogai/components/article/article.tsx +++ b/apps/blogai/components/article/article.tsx @@ -474,14 +474,11 @@ const Article = () => { const language = i18n.language - // const defCategories: TagItem[] = [ - // { name: t("article.all"), value: "" } - // ] - const defCategories: TagItem[] = [ + { name: t("article.all"), value: "" } ] - const categoriesRef = useRef(defCategories); + const categoriesRef = useRef(defCategories); const [initLoading, setInitLoading] = useState(false); const [initTags, setInitTags] = useState(false);