diff --git a/components/PromptPanel.tsx b/components/PromptPanel.tsx index c985c7b..1094b78 100644 --- a/components/PromptPanel.tsx +++ b/components/PromptPanel.tsx @@ -6,11 +6,13 @@ import {useRef} from 'react'; interface PromptPanelProps { prompts: PromptInput[]; addPrompt: (prompt: string) => void; + changeUpNextPrompt: (prompt: string) => void; } export default function PromptPanel({ prompts, addPrompt, + changeUpNextPrompt, }: PromptPanelProps) { const inputPrompt = useRef(null); @@ -28,7 +30,7 @@ export default function PromptPanel({