From cafd643c00cd292df7d1af883980168396c6f0c6 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 3 Sep 2024 14:31:05 +0800 Subject: [PATCH] fix: not show opening statement --- 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,