From 848f836f2fefbf8a5936259137e36611b1dcbd8c Mon Sep 17 00:00:00 2001 From: Daniel Fosco Date: Wed, 13 Dec 2023 12:24:59 +0100 Subject: [PATCH] Iterate frame title rendering when set to room --- .../breakout-rooms/src/components/RoomConfig/RoomConfig.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/breakout-rooms/src/components/RoomConfig/RoomConfig.tsx b/examples/breakout-rooms/src/components/RoomConfig/RoomConfig.tsx index 63c7e88d7..957a30ac2 100644 --- a/examples/breakout-rooms/src/components/RoomConfig/RoomConfig.tsx +++ b/examples/breakout-rooms/src/components/RoomConfig/RoomConfig.tsx @@ -46,6 +46,9 @@ export const RoomConfig: React.FunctionComponent = ({ } FetchFrame(); }, [room.targetId]); + + const renderedTitle = title ? `to ${title}` : 'frame'; + return (
@@ -53,7 +56,7 @@ export const RoomConfig: React.FunctionComponent = ({ {room.name} onSelectTarget(room)}