From 5a1c84e79f70bb44b2c4e400c36bcbb9943ca8ab Mon Sep 17 00:00:00 2001 From: sorphwer Date: Fri, 9 Aug 2024 21:54:41 +0800 Subject: [PATCH] fix: fix openStatement typo --- app/components/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/index.tsx b/app/components/index.tsx index 4591462..ba6d3bc 100644 --- a/app/components/index.tsx +++ b/app/components/index.tsx @@ -199,7 +199,7 @@ const Main: FC = () => { if (calculatedIntroduction && calculatedPromptVariables) calculatedIntroduction = replaceVarWithValues(calculatedIntroduction, promptConfig?.prompt_variables || [], calculatedPromptVariables) - const openstatement = { + const openStatement = { id: `${Date.now()}`, content: calculatedIntroduction, isAnswer: true,