refactor(reset-button): remove unnecessary disabled state for button

This commit is contained in:
cfngc4594 2025-03-09 15:18:08 +08:00
parent b9ac439178
commit a7506bed64

View File

@ -47,7 +47,6 @@ export default function ResetButton({
} }
} }
}} }}
disabled={templates.length === 0}
className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted" className="h-6 w-6 px-1.5 py-0.5 border-none hover:bg-muted"
> >
<RotateCcw size={16} strokeWidth={2} aria-hidden="true" /> <RotateCcw size={16} strokeWidth={2} aria-hidden="true" />