Reduce noisy runtime logging in frontend flows.

This keeps chat, notification, and post interactions cleaner in production while preserving error-level visibility.
This commit is contained in:
2026-03-09 22:18:47 +08:00
parent 3968660048
commit 63e32b15a3
21 changed files with 14 additions and 284 deletions

View File

@@ -189,7 +189,6 @@ export const HomeScreen: React.FC = () => {
setLoadingMore(true);
}
console.log('[HomeScreen] loadPosts - activeIndex:', activeIndex, 'postType:', postType);
const response = await fetchPosts(postType, pageNum);
const newPosts = response.list || [];
@@ -359,7 +358,7 @@ export const HomeScreen: React.FC = () => {
// 分享帖子
const handleShare = (post: Post) => {
console.log('Share post:', post.id);
void post;
};
// 删除帖子