Skip to content

Commit

Permalink
Merge pull request #129 from SuperViz/fix/observer-undefined
Browse files Browse the repository at this point in the history
chore: remove unused function
  • Loading branch information
carlossantos74 authored Nov 15, 2024
2 parents 137a0f5 + 15418e3 commit dd8839f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/playground/src/pages/video-with-react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ import {

function Room() {

const callback = (event) => {
console.log('new event', event)
}

return (
<div className="p-5 h-full bg-gray-200 flex flex-col gap-5">
<div className="shadow-none h-[90%] overflow-auto rounded-sm">\
test
<VideoConference participantType="host" onLocalParticipantJoin={callback} onLocalParticipantLeave={callback} onParticipantJoin={callback} onParticipantLeave={callback} onParticipantListChange={callback} />
<VideoConference participantType="host" />
</div>
</div>
);
Expand Down

0 comments on commit dd8839f

Please sign in to comment.