1
0
Fork 0

Different copy for editing

This commit is contained in:
Lim Chee Aun 2022-12-13 01:14:52 +08:00
parent 74ef381a9c
commit 7b7b8b9443

View file

@ -427,7 +427,11 @@ export default ({ onClose, replyToStatus, editStatus }) => {
class="large"
ref={textareaRef}
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}
autoCapitalize="sentences"
@ -528,7 +532,7 @@ export default ({ onClose, replyToStatus, editStatus }) => {
class="large"
disabled={uiState === 'loading'}
>
{replyToStatus ? 'Reply' : 'Post'}
{replyToStatus ? 'Reply' : editStatus ? 'Update' : 'Post'}
</button>
</div>
</div>