mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
优化
This commit is contained in:
@@ -23,7 +23,7 @@ interface Props {
|
||||
fullWidth?: boolean;
|
||||
}
|
||||
|
||||
export function LiveCard({
|
||||
export const LiveCard = React.memo(function LiveCard({
|
||||
item,
|
||||
onPress,
|
||||
fullWidth,
|
||||
@@ -73,7 +73,7 @@ export function LiveCard({
|
||||
</View>
|
||||
</TouchableOpacity>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
card: {
|
||||
|
||||
Reference in New Issue
Block a user