Skip to content

Commit cc91b75

Browse files
authored
Remove unused prevProps argument from componentDidUpdate
1 parent d9c70b8 commit cc91b75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export default class ImageView extends Component<PropsType, StateType> {
164164
Dimensions.addEventListener('change', this.onChangeDimension);
165165
}
166166

167-
componentDidUpdate(prevProps) {
167+
componentDidUpdate() {
168168
const {images, imageIndex, isVisible} = this.state;
169169

170170
if (

0 commit comments

Comments
 (0)