Skip to content

Commit 073a786

Browse files
committed
remove unused import
1 parent 1272415 commit 073a786

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/ImageGallery/components/AnimatedGalleryImage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import { View } from 'react-native';
33
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
44

5-
import { vh, vw } from '../../../utils/utils';
5+
import { vw } from '../../../utils/utils';
66

77
import type { ImageStyle, StyleProp } from 'react-native';
88

@@ -109,7 +109,8 @@ export const AnimatedGalleryImage: React.FC<Props> = React.memo(
109109
prevProps.shouldRender === nextProps.shouldRender &&
110110
prevProps.photo.uri === nextProps.photo.uri &&
111111
prevProps.previous === nextProps.previous &&
112-
prevProps.index === nextProps.index
112+
prevProps.index === nextProps.index &&
113+
prevProps.screenHeight === nextProps.screenHeight
113114
) {
114115
return true;
115116
}

0 commit comments

Comments
 (0)