diff --git a/.changeset/empty-tables-agree.md b/.changeset/empty-tables-agree.md new file mode 100644 index 000000000..1461e3eb3 --- /dev/null +++ b/.changeset/empty-tables-agree.md @@ -0,0 +1,5 @@ +--- +"@livekit/components-react": patch +--- + +Fix Chat usage without layoutcontext diff --git a/packages/react/src/prefabs/Chat.tsx b/packages/react/src/prefabs/Chat.tsx index 879a32e36..7fe8fd80d 100644 --- a/packages/react/src/prefabs/Chat.tsx +++ b/packages/react/src/prefabs/Chat.tsx @@ -89,9 +89,11 @@ export function Chat({
Messages - - - + {layoutContext && ( + + + + )}