diff --git a/src/account-settings/JumpNav.jsx b/src/account-settings/JumpNav.jsx index 3bcc34281..7251fcdae 100644 --- a/src/account-settings/JumpNav.jsx +++ b/src/account-settings/JumpNav.jsx @@ -3,7 +3,6 @@ import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { breakpoints, useWindowSize, Icon } from '@openedx/paragon'; import { OpenInNew } from '@openedx/paragon/icons'; import classNames from 'classnames'; -import PropTypes from 'prop-types'; import React from 'react'; import { useSelector } from 'react-redux'; import { NavHashLink } from 'react-router-hash-link'; diff --git a/src/account-settings/data/service.js b/src/account-settings/data/service.js index 02e2a8605..10152c85c 100644 --- a/src/account-settings/data/service.js +++ b/src/account-settings/data/service.js @@ -1,7 +1,6 @@ import { getConfig } from '@edx/frontend-platform'; import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth'; import pick from 'lodash.pick'; -import pickBy from 'lodash.pickby'; import omit from 'lodash.omit'; import isEmpty from 'lodash.isempty'; @@ -191,7 +190,7 @@ export async function postVerifiedName(data) { * A single function to GET everything considered a setting. Currently encapsulates Account, Preferences, and * ThirdPartyAuth. */ -export async function getSettings(username, userRoles, userId) { +export async function getSettings(username, userRoles) { const [ account, preferences, @@ -219,7 +218,7 @@ export async function getSettings(username, userRoles, userId) { * A single function to PATCH everything considered a setting. * Currently encapsulates Account, Preferences, ThirdPartyAuth */ -export async function patchSettings(username, commitValues, userId) { +export async function patchSettings(username, commitValues) { // Note: time_zone exists in the return value from user/v1/accounts // but it is always null and won't update. It also exists in // user/v1/preferences where it does update. This is the one we use.