Remove deprecated methods usage

This commit is contained in:
SleepWalker
2019-12-10 09:47:32 +02:00
parent 2a2a473e39
commit 3b20475cc6
19 changed files with 231 additions and 185 deletions

View File

@@ -20,7 +20,7 @@ export default class ImageLoader extends React.Component<
isLoading: true,
};
componentWillMount() {
componentDidMount() {
this.preloadImage();
}