;
blogId?: string;
isAnswerLoading: boolean;
+ isLoadingObject: boolean;
+ onInitialPromptClicked: (quesObj: any) => void;
}
-function HuskyChat({ mode, chats, onFollowupClicked, isAnswerLoading, onQuestionEdit, onShareClicked, onPromptClicked, onCopyAnswer, onRegenerate, onFeedback, blogId }: HuskyChatProps) {
+function HuskyChat({ mode, chats, onInitialPromptClicked, onFollowupClicked, isAnswerLoading, onQuestionEdit, onShareClicked, onPromptClicked, onCopyAnswer, onRegenerate, onFeedback, blogId, isLoadingObject }: HuskyChatProps) {
return (
<>
@@ -46,7 +48,7 @@ function HuskyChat({ mode, chats, onFollowupClicked, isAnswerLoading, onQuestion
mode={mode}
answer={chat?.answer}
/>}
- {chat?.followupQuestions?.length > 0 && }
+ {chat?.followupQuestions?.length > 0 && }
{mode !== 'blog' && chat?.actions?.length > 0 && }
>
)}
@@ -69,7 +71,7 @@ function HuskyChat({ mode, chats, onFollowupClicked, isAnswerLoading, onQuestion
))}
}
- {chats.length === 0 && !isAnswerLoading && }
+ {chats.length === 0 && !isAnswerLoading && }