Please replace code in `componentWillMount` section to constructor
Please replace code in
componentWillMountsection to constructor