Skip to content

Commit

Permalink
fix: code suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Oct 3, 2023
1 parent a9ca1dc commit e226db9
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,12 @@ export const LivestreamLayout = (props: LivestreamLayoutProps) => {
<ParticipantView
className={clsx(
hasOngoingScreenShare &&
'str-video__livestream-layout__floating-participant',
(hasOngoingScreenShare &&
`str-video__livestream-layout__floating-participant--${floatingParticipantProps?.position ?? 'top-right'}`),
clsx(
'str-video__livestream-layout__floating-participant',
`str-video__livestream-layout__floating-participant--${
floatingParticipantProps?.position ?? 'top-right'
}`,
),
)}
participant={currentSpeaker}
ParticipantViewUI={FloatingParticipantOverlay || Overlay}
Expand Down

0 comments on commit e226db9

Please sign in to comment.