diff --git a/src/components/ProfilePage/Name.jsx b/src/components/ProfilePage/Name.jsx index 201902a..4b62989 100644 --- a/src/components/ProfilePage/Name.jsx +++ b/src/components/ProfilePage/Name.jsx @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { Form, FormFeedback, FormGroup, FormText, Input, Label } from 'reactstrap'; +import { Form, FormFeedback, FormGroup, FormText, Label } from 'reactstrap'; import { connect } from 'react-redux'; import { injectIntl, intlShape } from 'react-intl'; @@ -63,15 +63,15 @@ class Name extends React.Component { - + {/* + This isn't a mistake - the name field should not be editable. But if it were, + you'd find the original code got deleted in the commit which added this comment. + -djoy + TODO: Relatedly, the plumbing for editing the name field is still in place. + Once we're super sure we don't want it back, you could delete the name props and + such to fully get rid of it. + */} +

{name}

{intl.formatMessage(messages['profile.name.details'])} diff --git a/src/components/ProfilePage/elements/Visibility.jsx b/src/components/ProfilePage/elements/Visibility.jsx index 16dc60d..10bedf6 100644 --- a/src/components/ProfilePage/elements/Visibility.jsx +++ b/src/components/ProfilePage/elements/Visibility.jsx @@ -38,7 +38,7 @@ function VisibilitySelect({ intl, className, ...props }) { return ( - +