Update dependency @livekit/components-react to v1.5.3 (#15)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lukasIO <mail@lukasseiler.de>
This commit is contained in:
renovate[bot] 2024-01-18 13:00:22 +01:00 committed by GitHub
parent 26720c3389
commit 69ce3757ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

6
package-lock.json generated
View File

@ -306,9 +306,9 @@
}
},
"node_modules/@livekit/components-react": {
"version": "1.5.2",
"resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-1.5.2.tgz",
"integrity": "sha512-1PlvgxxN7vr9YKRBq3dMy5rvLQ6zWpwoxbQ6HFj3oOMDvrcyT6e5rTpLhW9jnTBaT8iqBUPIFi+OsrPvBPeHmQ==",
"version": "1.5.3",
"resolved": "https://registry.npmjs.org/@livekit/components-react/-/components-react-1.5.3.tgz",
"integrity": "sha512-OL2BhyltXz4GTEmTPZPMehBMoWWNILTqHClPpFLJyM3KLnk2lLvaH9QWwlbqIJVr6vkm39pvq39ckv6GKa7jJw==",
"dependencies": {
"@livekit/components-core": "0.8.3",
"@react-hook/latest": "1.0.3",

View File

@ -1,5 +1,6 @@
import { ChatMessage } from "@/components/chat/ChatMessage";
import { ChatMessageInput } from "@/components/chat/ChatMessageInput";
import { ChatMessage as ComponentsChatMessage } from "@livekit/components-react";
import { useEffect, useRef } from "react";
const inputHeight = 48;
@ -14,7 +15,7 @@ export type ChatMessageType = {
type ChatTileProps = {
messages: ChatMessageType[];
accentColor: string;
onSend?: (message: string) => Promise<void>;
onSend?: (message: string) => Promise<ComponentsChatMessage>;
};
export const ChatTile = ({ messages, accentColor, onSend }: ChatTileProps) => {