mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
increase max chars limit of post editor
This commit is contained in:
parent
2089a0064f
commit
3da4df6b8f
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
// @flow
|
// @flow
|
||||||
import React, { useEffect } from 'react';
|
import React, { useEffect } from 'react';
|
||||||
import { FF_MAX_CHARS_IN_DESCRIPTION } from 'constants/form-field';
|
import { FF_MAX_CHARS_IN_POST } from 'constants/form-field';
|
||||||
import { FormField } from 'component/common/form';
|
import { FormField } from 'component/common/form';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
@ -108,7 +108,7 @@ function PostEditor(props: Props) {
|
||||||
value={ready ? fileText : __('Loading...')}
|
value={ready ? fileText : __('Loading...')}
|
||||||
disabled={!ready || disabled}
|
disabled={!ready || disabled}
|
||||||
onChange={value => updatePublishForm({ fileText: value })}
|
onChange={value => updatePublishForm({ fileText: value })}
|
||||||
textAreaMaxLength={FF_MAX_CHARS_IN_DESCRIPTION}
|
textAreaMaxLength={FF_MAX_CHARS_IN_POST}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue