From a6676db049df3b86f8c7f201762947326920903c Mon Sep 17 00:00:00 2001 From: thivy Date: Mon, 30 Oct 2023 15:21:09 +1100 Subject: [PATCH] - upgrade packages - fix speech flag --- .../chat/chat-ui/chat-input/chat-input.tsx | 4 +- src/next.config.js | 2 - src/package-lock.json | 3606 ++++++++--------- src/package.json | 54 +- 4 files changed, 1828 insertions(+), 1838 deletions(-) diff --git a/src/features/chat/chat-ui/chat-input/chat-input.tsx b/src/features/chat/chat-ui/chat-input/chat-input.tsx index 3c6cb5f29..1f8810526 100644 --- a/src/features/chat/chat-ui/chat-input/chat-input.tsx +++ b/src/features/chat/chat-ui/chat-input/chat-input.tsx @@ -11,7 +11,7 @@ interface Props {} const ChatInput: FC = (props) => { const { setInput, handleSubmit, isLoading, input } = useChatContext(); - const speechEnabled = process.env.NEXT_PUBLIC_SPEECH_ENABLED == "Y"; + const speechEnabled = process.env.NEXT_PUBLIC_SPEECH_ENABLED; const buttonRef = useRef(null); const { rows, resetRows, onKeyDown, onKeyUp } = useChatInputDynamicHeight({ @@ -45,7 +45,7 @@ const ChatInput: FC = (props) => { onChange={onChange} >
- { speechEnabled && } + {speechEnabled && }