From a7506bed64a8534d2ce0ea0f39e51c7709b659de Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sun, 9 Mar 2025 15:18:08 +0800 Subject: [PATCH] refactor(reset-button): remove unnecessary disabled state for button --- .../playground/workspace/editor/components/reset-button.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/features/playground/workspace/editor/components/reset-button.tsx b/src/features/playground/workspace/editor/components/reset-button.tsx index 411535c..5d5dd9d 100644 --- a/src/features/playground/workspace/editor/components/reset-button.tsx +++ b/src/features/playground/workspace/editor/components/reset-button.tsx @@ -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" >