优化
This commit is contained in:
@@ -713,8 +713,8 @@ const arePropsEqual = (
|
||||
};
|
||||
|
||||
// 使用 React.memo 优化组件,减少不必要的重新渲染
|
||||
export const UserInfoCard = React.memo(UserInfoCardComponent, arePropsEqual);
|
||||
|
||||
// export const UserInfoCard = React.memo(UserInfoCardComponent, arePropsEqual);
|
||||
export const UserInfoCard = UserInfoCardComponent;
|
||||
// 球局记录接口
|
||||
export interface GameRecord {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user