Skip to content

Commit 58ab957

Browse files
committed
fix: basic info issues
1 parent 4f9e6d7 commit 58ab957

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/shared/components/Settings/FormInputTextArea/index.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import cn from 'classnames';
99
import './styles.scss';
1010

1111
const FormInputTextArea = ({ styleName, ...props }) => {
12-
const { value } = props;
12+
const { value, maxLength } = props;
1313

1414
return (
1515
<div>
1616
<span styleName="char-count">
1717
{(value && value.length) || 0}
1818
<span styleName="grey">
19-
&nbsp;/ 240
19+
&nbsp;/ {maxLength}
2020
</span>
2121
</span>
2222
<textarea
@@ -31,11 +31,13 @@ const FormInputTextArea = ({ styleName, ...props }) => {
3131
FormInputTextArea.defaultProps = {
3232
styleName: {},
3333
value: null,
34+
maxLength: null,
3435
};
3536

3637
FormInputTextArea.propTypes = {
3738
styleName: PT.shape(),
3839
value: PT.string,
40+
maxLength: PT.string,
3941
};
4042

4143
export default FormInputTextArea;

src/shared/components/Settings/ProfileSettings/Learning/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const Learning = (props) => {
171171
styleName="edit-text"
172172
onClick={onHandleAddEducation}
173173
>
174-
Edit Another School / Degree
174+
Edit School / Degree
175175
</span>
176176
<span styleName="button-cancel">
177177
<span

0 commit comments

Comments
 (0)