Skip to content

Commit

Permalink
Merge pull request #242 from microsoft/package-upgrade
Browse files Browse the repository at this point in the history
- upgrade packages
  • Loading branch information
thivy authored Oct 30, 2023
2 parents fbd22f6 + a6676db commit 2a120f2
Show file tree
Hide file tree
Showing 4 changed files with 1,828 additions and 1,838 deletions.
4 changes: 2 additions & 2 deletions src/features/chat/chat-ui/chat-input/chat-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props {}
const ChatInput: FC<Props> = (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<HTMLButtonElement>(null);
const { rows, resetRows, onKeyDown, onKeyUp } = useChatInputDynamicHeight({
Expand Down Expand Up @@ -45,7 +45,7 @@ const ChatInput: FC<Props> = (props) => {
onChange={onChange}
></Textarea>
<div className="absolute right-0 bottom-0 px-8 flex items-end h-full mr-2 mb-4">
{ speechEnabled && <Microphone disabled={isLoading} /> }
{speechEnabled && <Microphone disabled={isLoading} />}
<Button
size="icon"
type="submit"
Expand Down
2 changes: 0 additions & 2 deletions src/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
const nextConfig = {
output: "standalone",
experimental: {
serverActions: true,
serverActionsBodySizeLimit: "22mb",
},
};

Expand Down
Loading

0 comments on commit 2a120f2

Please sign in to comment.