diff --git a/client/src/components/PromptsTab.tsx b/client/src/components/PromptsTab.tsx index a8a079c..5fdad82 100644 --- a/client/src/components/PromptsTab.tsx +++ b/client/src/components/PromptsTab.tsx @@ -43,7 +43,7 @@ const PromptsTab = ({ clearPrompts: () => void; getPrompt: (name: string, args: Record) => void; selectedPrompt: Prompt | null; - setSelectedPrompt: (prompt: Prompt) => void; + setSelectedPrompt: (prompt: Prompt | null) => void; handleCompletion: ( ref: PromptReference | ResourceReference, argName: string,