mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -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>
|
</div>
|
||||||
</FormPrimitive.Root>
|
</FormPrimitive.Root>
|
||||||
<div className='absolute bottom-[6px] right-[9px] flex space-x-4 transition-[opacity] duration-150'>
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue