Skip to content

Commit

Permalink
chore(web): types on _vidoe var
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 17, 2024
1 parent a2e61b6 commit deed1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/hooks/useUserMedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const useUserMedia = (video: HTMLVideoElement) => {

const updateUserMedia = useCallback(
async (video: HTMLVideoElement, constraints: MediaConstraints) => {
let _video = false;
let _video: MediaTrackConstraints | boolean = false;

if (constraints.video !== "off") {
_video = constraints.video
Expand Down

0 comments on commit deed1aa

Please sign in to comment.