diff --git a/pages/team-edit-profile.js b/pages/team-edit-profile.js index 075bc535..5b7ac432 100644 --- a/pages/team-edit-profile.js +++ b/pages/team-edit-profile.js @@ -5,7 +5,7 @@ import Popup from 'reactjs-popup' import ProfileAttributeForm from '../components/profile-attribute-form' import Button from '../components/button' import Table from '../components/table' -import { addTeamMemberAttributes, getTeamMemberAttributes, modifyMemberAttribute, deleteMemberAttribute } from '../lib/profiles-api' +import { addTeamMemberAttributes, getTeamMemberAttributes, modifyAttribute, deleteAttribute } from '../lib/profiles-api' import theme from '../styles/theme' export default class TeamEditProfile extends Component { @@ -161,7 +161,7 @@ export default class TeamEditProfile extends Component { { - await modifyMemberAttribute(attribute.id, attribute) + await modifyAttribute(attribute.id, attribute) this.setState({ isModifying: false }) return this.getAttributes() }} @@ -196,7 +196,7 @@ export default class TeamEditProfile extends Component { ? <>