|
|
@ -120,6 +120,7 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
componentDidUpdate = (prevProps) => {
|
|
|
|
if(prevProps.current_user.username!=this.props.current_user){
|
|
|
|
if(prevProps.current_user.username!=this.props.current_user){
|
|
|
|
if(this.props.current_user!=undefined){
|
|
|
|
if(this.props.current_user!=undefined){
|
|
|
|
|
|
|
|
console.log(this.props.current_user)
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
contact_name:this.props.current_user.username
|
|
|
|
contact_name:this.props.current_user.username
|
|
|
|
})
|
|
|
|
})
|
|
|
|