mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Set loading state of the post reply button
ref https://linear.app/tryghost/issue/AP-394 I've also passed the disabled prop, but not sure if it's necessary
This commit is contained in:
parent
f60f22be2d
commit
82328708ac
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ const APReplyBox: React.FC<APTextAreaProps> = ({
|
|||
</div>
|
||||
</FormPrimitive.Root>
|
||||
<div className='absolute bottom-[6px] right-[9px] flex space-x-4 transition-[opacity] duration-150'>
|
||||
<Button color='black' id='post' label='Post' size='sm' onClick={handleClick} />
|
||||
<Button disabled={replyMutation.isLoading} loading={replyMutation.isLoading} color='black' id='post' label='Post' size='sm' onClick={handleClick} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue