livekit / components-js

Official open source React components and examples for building with LiveKit.
https://livekit.io
Apache License 2.0
149 stars 67 forks source link

Update useTracks.ts #819

Closed FreitasAssis closed 5 months ago

FreitasAssis commented 5 months ago

FIX error: Property 'getTrackPublications' does not exist on type 'Participant'.ts(2339)

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 6d6906e91ef0f7c051301cebefce157e1b4e103b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

CLAassistant commented 5 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

davidzhao commented 5 months ago

this is expected. Components have been updated to work with livekit-client 2.0. Please reference the migration guide for details: https://docs.livekit.io/guides/migrate-from-v1/