From cad9dc83bdc5a83fe491669d09f09a2b4851ce91 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Fri, 13 Mar 2026 12:30:13 -0400 Subject: [PATCH] =?UTF-8?q?refactor:=20ScriptTemplateList=20=E2=80=94=20ad?= =?UTF-8?q?d=20onConfigure=20prop=20threading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/scripts/ScriptTemplateList.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/scripts/ScriptTemplateList.tsx b/frontend/src/components/scripts/ScriptTemplateList.tsx index 07bd0b3d..e0f32476 100644 --- a/frontend/src/components/scripts/ScriptTemplateList.tsx +++ b/frontend/src/components/scripts/ScriptTemplateList.tsx @@ -5,6 +5,7 @@ import { TemplateCard } from './TemplateCard' interface Props { inputValue: string onClearSearch: () => void + onConfigure: (id: string) => void } function TemplateSkeleton() { @@ -20,7 +21,7 @@ function TemplateSkeleton() { ) } -export function ScriptTemplateList({ inputValue, onClearSearch }: Props) { +export function ScriptTemplateList({ inputValue, onClearSearch, onConfigure }: Props) { const templates = useScriptGeneratorStore(s => s.templates) const isLoadingTemplates = useScriptGeneratorStore(s => s.isLoadingTemplates) @@ -61,7 +62,7 @@ export function ScriptTemplateList({ inputValue, onClearSearch }: Props) { return (
{templates.map(template => ( - + ))}
)