aboutsummaryrefslogtreecommitdiff
path: root/src/components/moments/MomentTile.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-01-27 19:32:21 -0500
committerGitHub <noreply@github.com>2021-01-27 19:32:21 -0500
commit19d2a861f260c02031d951f3d43bff8ac672146d (patch)
tree253abceb267dfb75ac9118995886ff152c1ba74b /src/components/moments/MomentTile.tsx
parent60d3d97ad6913369762877a9dbfdaac0473deb28 (diff)
parentdc9556867dd44b706c43678d40802a335ff40658 (diff)
Merge pull request #203 from IvanIFChen/tma577-profile-slowness
[TMA-577] Profile Slowness
Diffstat (limited to 'src/components/moments/MomentTile.tsx')
-rw-r--r--src/components/moments/MomentTile.tsx3
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>
);