Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Arnautov <[email protected]>
  • Loading branch information
oliverlaz and arnautov-anton authored Oct 3, 2023
1 parent 4947770 commit a9ca1dc
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ export const LivestreamLayout = (props: LivestreamLayoutProps) => {
hasOngoingScreenShare &&
'str-video__livestream-layout__floating-participant',
(hasOngoingScreenShare &&

Check failure on line 110 in packages/react-sdk/src/core/components/CallLayout/LivestreamLayout.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

Delete `(`
floatingParticipantProps?.position &&
`str-video__livestream-layout__floating-participant--${floatingParticipantProps.position}`) ??
'str-video__livestream-layout__floating-participant--top-right',
`str-video__livestream-layout__floating-participant--${floatingParticipantProps?.position ?? 'top-right'}`),

Check failure on line 111 in packages/react-sdk/src/core/components/CallLayout/LivestreamLayout.tsx

View workflow job for this annotation

GitHub Actions / test-and-build

Replace `floatingParticipantProps?.position·??·'top-right'}`)` with `⏎················floatingParticipantProps?.position·??·'top-right'⏎··············}``
)}
participant={currentSpeaker}
ParticipantViewUI={FloatingParticipantOverlay || Overlay}
Expand Down

0 comments on commit a9ca1dc

Please sign in to comment.