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