0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

Merge pull request #811 from ayusharma/fix-unsafe-component-will-mount

refactor: replaces componentWillMount with componentDidMount
This commit is contained in:
Juan Picado @jotadeveloper 2018-07-13 09:02:09 +02:00 committed by GitHub
commit cfb03aa177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ export default class Header extends React.Component {
});
}
componentWillMount() {
componentDidMount() {
this.loadLogo();
}