Skip to content

Commit d45d376

Browse files
committed
min diff
1 parent 1800abd commit d45d376

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/react/src/hooks/useSession.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import {
77
TrackPublishOptions,
88
Track,
99
TokenSourceCached,
10+
TokenSourceConfigurable,
1011
TokenSourceFixed,
1112
TokenSourceFetchOptions,
1213
RoomConnectOptions,
1314
decodeTokenPayload,
14-
TokenSourceConfigurable,
1515
} from 'livekit-client';
1616
import { EventEmitter } from 'events';
1717

@@ -271,7 +271,6 @@ function useSessionTokenSourceFetch(
271271
) {
272272
return;
273273
}
274-
console.warn('updating unstable rest options to ', unstableRestOptions);
275274
memoizedTokenFetchOptionsRef.current = unstableRestOptions;
276275
}, [isConfigurable, unstableRestOptions]);
277276

@@ -282,7 +281,6 @@ function useSessionTokenSourceFetch(
282281
`AgentSession - memoized token fetch options are not set, but the passed tokenSource was an instance of TokenSourceConfigurable. If you are seeing this please make a new GitHub issue!`,
283282
);
284283
}
285-
console.warn('running token source fetch with options', memoizedTokenFetchOptionsRef.current);
286284
return tokenSource.fetch(memoizedTokenFetchOptionsRef.current);
287285
} else {
288286
return tokenSource.fetch();

0 commit comments

Comments
 (0)