diff --git a/components/PromptPanel.tsx b/components/PromptPanel.tsx index d4deadb..e7cae36 100644 --- a/components/PromptPanel.tsx +++ b/components/PromptPanel.tsx @@ -17,22 +17,22 @@ const PromptPanel = (props: PromptPanelProps) => { {prompts.map((prompt, index) => ( ))} + +
{ + e.preventDefault(); + const prompt = e.currentTarget.prompt.value; + addPrompt(prompt); + }}> + +
- -
{ - e.preventDefault(); - const prompt = e.currentTarget.prompt.value; - addPrompt(prompt); - }}> - -
) }