Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 98d081e

Browse files
committed
fix: build
1 parent 46b3107 commit 98d081e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ClickPromptButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ export function ExecutePromptButton(props: ExecButtonProps) {
7575
}
7676

7777
setIsLoading(true);
78-
let conversation: ResponseCreateConversation = await createConversation();
78+
const conversation: ResponseCreateConversation = await createConversation();
7979
if (!conversation) {
8080
return;
8181
}
8282

83-
let response: any = await sendMessage(conversation.id || 0, props.text);
83+
const response: any = await sendMessage(conversation.id || 0, props.text);
8484
if (!response) {
8585
props.handleResponse ? props.handleResponse(response as ResponseSend) : null;
8686
}

0 commit comments

Comments
 (0)