diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-01-26 18:10:23 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-01-26 18:10:23 -0500 |
| commit | befc480c50d90d829c53953476ccfe99e26c9260 (patch) | |
| tree | 2575fa2299d258eccde177aca81d69306b064423 /src/components/moments/MomentTile.tsx | |
| parent | f7ed1dae99761eb4647d3b6cb68f009fd467ad8a (diff) | |
thumbnail for profile preview and moments
Diffstat (limited to 'src/components/moments/MomentTile.tsx')
| -rw-r--r-- | src/components/moments/MomentTile.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/moments/MomentTile.tsx b/src/components/moments/MomentTile.tsx index 16e91c82..69701192 100644 --- a/src/components/moments/MomentTile.tsx +++ b/src/components/moments/MomentTile.tsx @@ -15,7 +15,6 @@ const MomentTile: React.FC<MomentTileProps> = ({ }) => { const navigation = useNavigation(); - const {path_hash} = moment; return ( <TouchableOpacity onPress={() => { @@ -26,7 +25,7 @@ const MomentTile: React.FC<MomentTileProps> = ({ }); }}> <View style={styles.image}> - <Image style={styles.image} source={{uri: path_hash}} /> + <Image style={styles.image} source={{uri: moment.thumbnail_url}} /> </View> </TouchableOpacity> ); |
