diff --git a/app/custom/VideoConferenceClientImpl.tsx b/app/custom/VideoConferenceClientImpl.tsx index 819b61a..b00fa17 100644 --- a/app/custom/VideoConferenceClientImpl.tsx +++ b/app/custom/VideoConferenceClientImpl.tsx @@ -40,9 +40,9 @@ export function VideoConferenceClientImpl(props: { dynacast: true, e2ee: e2eeEnabled ? { - keyProvider, - worker, - } + keyProvider, + worker, + } : undefined, }; }, []); diff --git a/app/rooms/[roomName]/PageClientImpl.tsx b/app/rooms/[roomName]/PageClientImpl.tsx index 195b0db..9413df6 100644 --- a/app/rooms/[roomName]/PageClientImpl.tsx +++ b/app/rooms/[roomName]/PageClientImpl.tsx @@ -129,9 +129,9 @@ function VideoConferenceComponent(props: { dynacast: true, e2ee: e2eeEnabled ? { - keyProvider, - worker, - } + keyProvider, + worker, + } : undefined, }; }, [props.userChoices, props.options.hq, props.options.codec]); diff --git a/lib/CameraSettings.tsx b/lib/CameraSettings.tsx index a1aeabd..1051d39 100644 --- a/lib/CameraSettings.tsx +++ b/lib/CameraSettings.tsx @@ -25,8 +25,8 @@ export function CameraSettings() { (cameraTrack as LocalTrackPublication)?.track?.getProcessor()?.name === 'background-blur' ? 'blur' : (cameraTrack as LocalTrackPublication)?.track?.getProcessor()?.name === 'virtual-background' - ? 'image' - : 'none', + ? 'image' + : 'none', ); const [virtualBackgroundImagePath, setVirtualBackgroundImagePath] = React.useState( diff --git a/package.json b/package.json index 6f28cea..7c98422 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "lint:fix": "next lint --fix", + "format:check": "prettier --check \"**/*.{ts,tsx,md,json}\"", + "format:write": "prettier --write \"**/*.{ts,tsx,md,json}\"" }, "dependencies": { "@datadog/browser-logs": "^5.23.3",