Run prettify over the changes.

This commit is contained in:
Michael Kaye
2023-09-27 17:32:22 +01:00
parent 3658aed3b3
commit 8f43429a24
4 changed files with 21 additions and 4 deletions

View File

@@ -24,7 +24,13 @@ export const ShareButton: FC<
> = (props) => { > = (props) => {
const { t } = useTranslation(); const { t } = useTranslation();
return ( return (
<Button data-testid="open_share_modal" kind="secondary" size="sm" Icon={UserAddSolidIcon} {...props}> <Button
data-testid="open_share_modal"
kind="secondary"
size="sm"
Icon={UserAddSolidIcon}
{...props}
>
{t("Share")} {t("Share")}
</Button> </Button>
); );

View File

@@ -423,7 +423,7 @@ export function InCallView({
</LeftNav> </LeftNav>
<RightNav> <RightNav>
{!reducedControls && onShareClick !== null && ( {!reducedControls && onShareClick !== null && (
<ShareButton data-testid= "call_invite" onClick={onShareClick} /> <ShareButton data-testid="call_invite" onClick={onShareClick} />
)} )}
</RightNav> </RightNav>
</Header> </Header>

View File

@@ -106,7 +106,13 @@ export const VideoPreview: FC<Props> = ({
const content = ( const content = (
<> <>
<video data-testid="preview_video" ref={videoEl} muted playsInline disablePictureInPicture /> <video
data-testid="preview_video"
ref={videoEl}
muted
playsInline
disablePictureInPicture
/>
{!muteStates.video.enabled && ( {!muteStates.video.enabled && (
<div className={styles.avatarContainer}> <div className={styles.avatarContainer}>
<Avatar <Avatar

View File

@@ -203,7 +203,12 @@ export const VideoTile = forwardRef<HTMLDivElement, Props>(
aria-label={muted ? t("Microphone off") : t("Microphone on")} aria-label={muted ? t("Microphone off") : t("Microphone on")}
data-muted={muted} data-muted={muted}
/> />
<Text as="span" size="sm" weight="medium" data-testid="videoTile_caption"> <Text
as="span"
size="sm"
weight="medium"
data-testid="videoTile_caption"
>
{sfuParticipant.isLocal ? t("You") : displayName} {sfuParticipant.isLocal ? t("You") : displayName}
</Text> </Text>