From 9996be166f5028a677d6d199bab894dbd4a7a0da Mon Sep 17 00:00:00 2001 From: KavyapriyaJG Date: Thu, 17 Apr 2025 00:27:12 +0530 Subject: [PATCH] Fix - added null type to prompt for reset --- client/src/components/PromptsTab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,