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:
commit
cfb03aa177
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default class Header extends React.Component {
|
|||
});
|
||||
}
|
||||
|
||||
componentWillMount() {
|
||||
componentDidMount() {
|
||||
this.loadLogo();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue