src/components/userProfile/UserProfile.js
// when the page is updated the user data is requested again so the changes from the edit profile page are immediately displayed
when the page is updated the user data is requested again so the changes from the edit profile page are immediately displayed
when the page is updated the user data is requested again so the changes from the edit profile page are immediately displayed
componentDidUpdate() {
        if (!this.state.loading) {
            this.getUser();
        }
    }
componentDidUpdate ( ) { if ( ! this . state . loading ) { this . getUser ( ) ; } }
when the page is updated the user data is requested again so the changes from the edit profile page are immediately displayed
when the page is updated the user data is requested again so the changes from the edit profile page are immediately displayed