From 6402f49de1b681d13615ace88e8b28411fcaf681 Mon Sep 17 00:00:00 2001 From: heheer <1239331448@qq.com> Date: Thu, 19 Dec 2024 10:04:50 +0800 Subject: [PATCH] delete console --- projects/app/src/pages/app/list/components/CreateModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/app/src/pages/app/list/components/CreateModal.tsx b/projects/app/src/pages/app/list/components/CreateModal.tsx index 54d1e8dc929..12c1c6c2ff4 100644 --- a/projects/app/src/pages/app/list/components/CreateModal.tsx +++ b/projects/app/src/pages/app/list/components/CreateModal.tsx @@ -74,7 +74,7 @@ const CreateModal = ({ const { data: templateList = [] } = useRequest2(getTemplateMarketItemList, { manual: false }); - console.log('templateList', templateList); + const filterTemplates = useMemo(() => { if (templateList.every((item) => item.isQuickTemplate === undefined)) { return templateList.filter((item) => item.type === type).slice(0, 3);