refactor(ui): remove redundant disabled props when using Button loading

The Button component internally sets disabled when loading=true, so
explicit disabled props are redundant and can be removed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Shirone
2026-01-25 14:09:14 +01:00
parent 80ef21c8d0
commit 08dc90b378

View File

@@ -86,7 +86,7 @@ export function IssueDetailPanel({
{(() => { {(() => {
if (isValidating) { if (isValidating) {
return ( return (
<Button variant="default" size="sm" disabled loading> <Button variant="default" size="sm" loading>
Validating... Validating...
</Button> </Button>
); );
@@ -333,7 +333,6 @@ export function IssueDetailPanel({
size="sm" size="sm"
className="w-full" className="w-full"
onClick={loadMore} onClick={loadMore}
disabled={loadingMore}
loading={loadingMore} loading={loadingMore}
> >
{loadingMore ? 'Loading...' : 'Load More Comments'} {loadingMore ? 'Loading...' : 'Load More Comments'}