Fix testID (#5302)

This commit is contained in:
Miguel Alatzar 2021-04-09 14:24:37 -07:00 committed by GitHub
parent e9d0fab8d1
commit aecbe9af8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,7 @@ export default class ProfilePicture extends PureComponent {
return (
<View
style={[style.container, containerStyle]}
testID={`${testID}.${user.id}`}
testID={`${testID}.${user?.id}`}
>
{image}
{(showStatus || edit) && (user && !user.is_bot) &&