mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
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:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user