mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 06:06:41 +01:00
Different copy for editing
This commit is contained in:
parent
74ef381a9c
commit
7b7b8b9443
1 changed files with 6 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue