Remove unnecessary console logs and replace them with void expressions for better performance and cleaner code. Update error logging to use console.error for consistency. This change enhances code readability and reduces console noise during execution.
This commit is contained in:
@@ -2,7 +2,21 @@
|
||||
* 业务组件导出
|
||||
*/
|
||||
|
||||
// PostCard 新架构(从 PostCard 目录导出)
|
||||
export { default as PostCard } from './PostCard';
|
||||
// 导出 PostCard 相关类型和工具
|
||||
export type {
|
||||
PostCardActionType,
|
||||
PostCardAction,
|
||||
PostCardOnAction,
|
||||
PostCardFeatures,
|
||||
PostCardFeaturesPreset,
|
||||
PostCardFeaturesConfig,
|
||||
PostCardProps,
|
||||
LegacyPostCardProps,
|
||||
} from './PostCard';
|
||||
export { PostCardPresets, resolveFeatures } from './PostCard';
|
||||
export { usePostCardActions, usePostCardFeatures } from './PostCard';
|
||||
export { default as CommentItem } from './CommentItem';
|
||||
export { default as UserProfileHeader } from './UserProfileHeader';
|
||||
export { default as SystemMessageItem } from './SystemMessageItem';
|
||||
|
||||
Reference in New Issue
Block a user