Skip to content

Commit

Permalink
gut disabled prop from input as we do not need this here and i had on…
Browse files Browse the repository at this point in the history
…ly added it to take care of canmanageSettings
  • Loading branch information
BrittanyIRL committed Aug 14, 2020
1 parent 805a6e1 commit d91058f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions assets/src/dashboard/components/inlineInputForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const InlineInputForm = ({
onEditComplete,
placeholder,
value,
disabled,
}) => {
const inputContainerRef = useRef(null);
const [newValue, setNewValue] = useState(value);
Expand Down Expand Up @@ -89,7 +88,6 @@ const InlineInputForm = ({
onKeyDown={handleKeyPress}
onChange={handleChange}
placeholder={placeholder}
disabled={disabled}
error={error}
/>
{error && <ErrorText>{error}</ErrorText>}
Expand All @@ -98,7 +96,6 @@ const InlineInputForm = ({
};

InlineInputForm.propTypes = {
disabled: PropTypes.bool,
error: PropTypes.string,
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,
label: PropTypes.string.isRequired,
Expand Down

0 comments on commit d91058f

Please sign in to comment.