Skip to content

Commit ef0fed7

Browse files
committed
fix: revert changes to useTrack
1 parent 55bfa56 commit ef0fed7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/react/src/hooks/useTrack.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
// import { useTrackRefBySourceOrName } from './useTrackRefBySourceOrName';
33
// import { useEnsureParticipant } from '../context';
44

5-
// function useTrack<TrackSource extends Track.Source>(source: TrackSource, participant?: Participant) {
5+
/**
6+
* TODO decide whether we want to expose this
7+
*/
8+
// function useTrack(source: Track.Source, participant?: Participant) {
69
// const p = useEnsureParticipant(participant);
710
// return useTrackRefBySourceOrName({ source, participant: p });
811
// }

0 commit comments

Comments
 (0)