Skip to content

Commit 9d4058b

Browse files
Update PreJoin.tsx (#1260)
1 parent c394c3a commit 9d4058b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react/src/prefabs/PreJoin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface PreJoinProps extends Omit<
3434
/** This function is called with the `LocalUserChoices` if validation is passed. */
3535
onSubmit?: (values: LocalUserChoices) => void;
3636
/**
37-
* Provide your custom validation function. Only if validation is successful the user choices are past to the onSubmit callback.
37+
* Provide your custom validation function. Only if validation is successful the user choices are passed to the onSubmit callback.
3838
*/
3939
onValidate?: (values: LocalUserChoices) => boolean;
4040
onError?: (error: Error) => void;
@@ -206,7 +206,7 @@ export function usePreviewDevice<T extends LocalVideoTrack | LocalAudioTrack>(
206206

207207
/**
208208
* The `PreJoin` prefab component is normally presented to the user before he enters a room.
209-
* This component allows the user to check and select the preferred media device (camera und microphone).
209+
* This component allows the user to check and select the preferred media device (camera and microphone).
210210
* On submit the user decisions are returned, which can then be passed on to the `LiveKitRoom` so that the user enters the room with the correct media devices.
211211
*
212212
* @remarks

0 commit comments

Comments
 (0)