From 4ff72d72a500290e22a71403deb6bf5c94cb74b8 Mon Sep 17 00:00:00 2001 From: Kagamine Rin Date: Sun, 31 May 2026 10:56:49 -0400 Subject: [PATCH] revert: remove unnecessary prompt fallback from basic MaestroButton The prompt={prompt || Object.values(...)} was added based on a wrong assumption about the accordion form-submit bug. The real fix was adding type='button' to the accordion toggles. This reverts the Generator.tsx prompt prop back to just {prompt}. --- frontend/src/components/Generator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Generator.tsx b/frontend/src/components/Generator.tsx index 5669a40..712497a 100644 --- a/frontend/src/components/Generator.tsx +++ b/frontend/src/components/Generator.tsx @@ -186,7 +186,7 @@ export default function Generator({ onGenerate }: Props) {
{ setPrompt(_result) setError('')