diff --git a/packages/react/src/prefabs/PreJoin.tsx b/packages/react/src/prefabs/PreJoin.tsx index f3ec12b7f..7b43ae04c 100644 --- a/packages/react/src/prefabs/PreJoin.tsx +++ b/packages/react/src/prefabs/PreJoin.tsx @@ -32,7 +32,7 @@ export interface PreJoinProps /** This function is called with the `LocalUserChoices` if validation is passed. */ onSubmit?: (values: LocalUserChoices) => void; /** - * Provide your custom validation function. Only if validation is successful the user choices are past to the onSubmit callback. + * Provide your custom validation function. Only if validation is successful the user choices are passed to the onSubmit callback. */ onValidate?: (values: LocalUserChoices) => boolean; onError?: (error: Error) => void; @@ -204,7 +204,7 @@ export function usePreviewDevice( /** * The `PreJoin` prefab component is normally presented to the user before he enters a room. - * This component allows the user to check and select the preferred media device (camera und microphone). + * This component allows the user to check and select the preferred media device (camera and microphone). * 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. * * @remarks