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:
@@ -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;
|
||||
};
|
||||
|
||||
// 删除帖子
|
||||
|
||||
Reference in New Issue
Block a user