From 146f4f70ca1af76b7244a28a67c0698c4a5ebde9 Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 7 Jan 2026 10:48:37 +0800 Subject: [PATCH] chore: remove redundant comments in log component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove comments that describe "what" rather than "why" to align with CLAUDE.md guideline for self-documenting code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- web/app/components/app/log/index.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/web/app/components/app/log/index.tsx b/web/app/components/app/log/index.tsx index 2b064342ac..b99b070fba 100644 --- a/web/app/components/app/log/index.tsx +++ b/web/app/components/app/log/index.tsx @@ -60,7 +60,6 @@ const Logs: FC = ({ appDetail }) => { const page = queryParams.page > 0 ? queryParams.page : 1 const limit = queryParams.limit > 0 ? queryParams.limit : APP_PAGE_LIMIT - // Get the app type first const isChatMode = appDetail.mode !== AppModeEnum.COMPLETION const query = { @@ -77,7 +76,6 @@ const Logs: FC = ({ appDetail }) => { keyword: debouncedQueryParams.keyword || undefined, } - // When the details are obtained, proceed to the next request const { data: chatConversations, refetch: mutateChatList } = useChatConversations({ appId: isChatMode ? appDetail.id : '', params: query, @@ -115,7 +113,6 @@ const Logs: FC = ({ appDetail }) => { : total > 0 ? : } - {/* Show Pagination only if the total is more than the limit */} {(total && total > APP_PAGE_LIMIT) ? (