From d0e999483cc357bb38bccbc32c5fa618d3ac9a6a Mon Sep 17 00:00:00 2001 From: Peter Szerzo Date: Tue, 24 Sep 2024 18:53:53 +0200 Subject: [PATCH] Fix chat configuration language editor --- packages/website/src/components/ChatConfiguration.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/website/src/components/ChatConfiguration.tsx b/packages/website/src/components/ChatConfiguration.tsx index b9fe1620..791f300b 100644 --- a/packages/website/src/components/ChatConfiguration.tsx +++ b/packages/website/src/components/ChatConfiguration.tsx @@ -106,7 +106,7 @@ export const ConfigEditor: FC<{ className={inputClass} value={config.languageCode} onInput={(ev: any) => { - props.onChange({ headers: { languageCode: ev.target.value } }); + props.onChange({ languageCode: ev.target.value }); }} />