removing old comments
This commit is contained in:
@@ -92,7 +92,6 @@ export function UserAvatar({
|
|||||||
// setUserAvatar is only passed as prop on the EditProfile component
|
// setUserAvatar is only passed as prop on the EditProfile component
|
||||||
return setUserAvatar != null && IMAGES_ENABLED ? (
|
return setUserAvatar != null && IMAGES_ENABLED ? (
|
||||||
<TouchableOpacity onPress={handleEditAvatar}>
|
<TouchableOpacity onPress={handleEditAvatar}>
|
||||||
{/* Added a react state temporary photo while the protocol does not support imagery */}
|
|
||||||
{userAvatar != null ? (
|
{userAvatar != null ? (
|
||||||
<Image style={styles.avatarImage} source={{uri: userAvatar}} />
|
<Image style={styles.avatarImage} source={{uri: userAvatar}} />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ export function UserBanner({
|
|||||||
// setUserBanner is only passed as prop on the EditProfile component
|
// setUserBanner is only passed as prop on the EditProfile component
|
||||||
return setUserBanner != null && IMAGES_ENABLED ? (
|
return setUserBanner != null && IMAGES_ENABLED ? (
|
||||||
<TouchableOpacity onPress={handleEditBanner}>
|
<TouchableOpacity onPress={handleEditBanner}>
|
||||||
{/* Added a react state temporary photo while the protocol does not support imagery */}
|
|
||||||
{userBanner != null ? (
|
{userBanner != null ? (
|
||||||
<Image style={styles.bannerImage} source={{uri: userBanner}} />
|
<Image style={styles.bannerImage} source={{uri: userBanner}} />
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Reference in New Issue
Block a user