aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-07-08 17:06:22 -0400
committerBrian Kim <brian@tagg.id>2021-07-08 17:06:22 -0400
commit9acc152bb1aa7dabdd846ec7fb9a508ace41c9ce (patch)
tree9b572dbfccc781da4a3e0b7fab9cff53383f3253 /src/screens
parentdd6813e7b662a1c2d7beaba982f8081de0e74f0f (diff)
Fix lint
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/moments/TagFriendsScreen.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/moments/TagFriendsScreen.tsx b/src/screens/moments/TagFriendsScreen.tsx
index 5c3501bb..2518cfbb 100644
--- a/src/screens/moments/TagFriendsScreen.tsx
+++ b/src/screens/moments/TagFriendsScreen.tsx
@@ -178,7 +178,7 @@ const TagFriendsScreen: React.FC<TagFriendsScreenProps> = ({route}) => {
<View
style={styles.titleContainer}
onLayout={(event) => {
- const {_x, y, _width, height} = event.nativeEvent.layout;
+ const {y, height} = event.nativeEvent.layout;
const tempBound = y + height;
if (SCREEN_HEIGHT / 2 - imageHeight / 2 < tempBound) {
if (SCREEN_HEIGHT / 2 - imageHeight / 2 < 0) {