Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 4777d1a

Browse files
author
Artem
committed
Update componentWillMount to componentDidMount
1 parent a0bd59b commit 4777d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image-viewer.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default class ImageViewer extends React.Component<Props, State> {
4848

4949
private imageRefs: any[] = [];
5050

51-
public componentWillMount() {
51+
public componentDidMount() {
5252
this.init(this.props);
5353
}
5454

0 commit comments

Comments
 (0)