JamesRandall / react-azure-adb2c

Looking for a maintainer - if interested please get in touch in issue #13
MIT License
45 stars 58 forks source link

componentWillMount has been renamed #27

Open ghost opened 4 years ago

ghost commented 4 years ago

Hi!

Started getting this warning. Might be good to update the code.

Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Please update the following components: _class

The issue is in this line: component={auth.getAuth().required(Login)}

Cheers!