Different copy for editing
This commit is contained in:
parent
74ef381a9c
commit
7b7b8b9443
|
@ -427,7 +427,11 @@ export default ({ onClose, replyToStatus, editStatus }) => {
|
||||||
class="large"
|
class="large"
|
||||||
ref={textareaRef}
|
ref={textareaRef}
|
||||||
placeholder={
|
placeholder={
|
||||||
replyToStatus ? 'Post your reply' : 'What are you doing?'
|
replyToStatus
|
||||||
|
? 'Post your reply'
|
||||||
|
: editStatus
|
||||||
|
? 'Edit your status'
|
||||||
|
: 'What are you doing?'
|
||||||
}
|
}
|
||||||
required={mediaAttachments.length === 0}
|
required={mediaAttachments.length === 0}
|
||||||
autoCapitalize="sentences"
|
autoCapitalize="sentences"
|
||||||
|
@ -528,7 +532,7 @@ export default ({ onClose, replyToStatus, editStatus }) => {
|
||||||
class="large"
|
class="large"
|
||||||
disabled={uiState === 'loading'}
|
disabled={uiState === 'loading'}
|
||||||
>
|
>
|
||||||
{replyToStatus ? 'Reply' : 'Post'}
|
{replyToStatus ? 'Reply' : editStatus ? 'Update' : 'Post'}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue