diff --git a/apps/web/app/room/[slug]/page.tsx b/apps/web/app/room/[slug]/page.tsx index d4833dd..829b4fd 100644 --- a/apps/web/app/room/[slug]/page.tsx +++ b/apps/web/app/room/[slug]/page.tsx @@ -213,7 +213,7 @@ export default function Page(): JSX.Element { }, []) return ( -
+
{error && ( @@ -233,8 +233,8 @@ export default function Page(): JSX.Element { !connected && 'invisible' )} > -
- +
+ -
-
-

+
+
+

Before you start practicing, make sure to check your microphone and camera first.

- Users Online: {usersOnline} -
- - + + Users Online: {usersOnline} + +
+ + {accessGranted ? ( <> -
-

+
+

{ "Each conversation room lasts for 10 minutes. When there are less than 2 minutes remaining, a timer will appear above the users' videos to indicate the time left." } @@ -144,11 +146,11 @@ export default function Page(): JSX.Element {

{inQueue ? 'Finding a practice buddy' - : "Hit the 'Ready' button when you feel ready to start practicing with someone."} + : "Hit the 'I'm Ready' button when you feel ready to start practicing with someone."}

@@ -160,7 +162,9 @@ export default function Page(): JSX.Element { We need access to your microphone and camera. Please enable permissions to continue.

- +
)}
diff --git a/apps/web/components/video-player.tsx b/apps/web/components/video-player.tsx index ba3b363..435ca31 100644 --- a/apps/web/components/video-player.tsx +++ b/apps/web/components/video-player.tsx @@ -1,11 +1,6 @@ 'use client' -import React, { - forwardRef, - useEffect, - useImperativeHandle, - useRef, -} from 'react' +import { forwardRef, useEffect, useImperativeHandle, useRef } from 'react' import clsx from 'clsx' import { Headphones, @@ -143,7 +138,7 @@ export const VideoPlayer = forwardRef< )}
{!remote && ( -
+