Update LineDetails.tsx
This commit is contained in:
@@ -144,9 +144,11 @@ export default function LineDetails() {
|
|||||||
|
|
||||||
{/* live line */}
|
{/* live line */}
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
{Object.values(peerMap).map((peer, index) => (
|
{Object.values(peerMap).map((linePeers, index) => {
|
||||||
<StreamPlayer key={`streamPlayer-${index}`} peer={peer} />
|
return linePeers.map((linePeer) => {
|
||||||
))}
|
return <StreamPlayer key={`streamPlayer-${index}`} peer={linePeer.peer} />;
|
||||||
|
});
|
||||||
|
})}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* canvas action buttons */}
|
{/* canvas action buttons */}
|
||||||
|
|||||||
Reference in New Issue
Block a user