diff --git a/src/containers/UserProfile/index.jsx b/src/containers/UserProfile/index.jsx index 0ed7324..5322677 100644 --- a/src/containers/UserProfile/index.jsx +++ b/src/containers/UserProfile/index.jsx @@ -28,8 +28,8 @@ const mapStateToProps = (state) => { socialLinks: state.profilePage.profile.socialLinks, bio: state.profilePage.profile.bio, certificates: null, - accountPrivacy: state.preferences.accountPrivacy, - visibility: state.preferences.visibility || {}, + accountPrivacy: state.preferences.accountPrivacy, + visibility: state.preferences.visibility || {}, }; }; diff --git a/src/sagas/RootSaga.js b/src/sagas/RootSaga.js index cb04a0d..a3653b3 100644 --- a/src/sagas/RootSaga.js +++ b/src/sagas/RootSaga.js @@ -41,7 +41,6 @@ import { import * as ProfileApiService from '../services/ProfileApiService'; import { getPreferences, savePreferences } from '../data/apiClient'; -let userAccountApiService = null; const PROP_TO_STATE_MAP = { fullName: 'name',