Commit 5fb9b100 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix the MemberView props

parent e879e307
......@@ -23,7 +23,7 @@ const MemberView = (props) => {
<SquareView style={props.style} size={props.size} >
<TouchableHighlight
style={styles.image}
onPress={() => props.loadProfile(props.token, props.member.member)}
onPress={() => props.loadProfile(props.token, props.member.pk)}
>
<ImageBackground style={styles.image} source={{ uri: photo }}>
<LinearGradient colors={['#55000000', '#000000']} style={styles.overlayGradient} />
......@@ -36,9 +36,9 @@ const MemberView = (props) => {
MemberView.propTypes = {
member: PropTypes.shape({
pk: PropTypes.number,
name: PropTypes.string,
photo: PropTypes.string,
member: PropTypes.number,
}).isRequired,
size: PropTypes.number.isRequired,
style: ViewPropTypes.style,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment