🎨(frontend) fix prettier formatting for room ui components

align formatting with prettier checks to keep ci passing consistently.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Cyril
2026-02-18 14:52:04 +01:00
parent ed97f09aad
commit cb2af9da96
7 changed files with 8 additions and 7 deletions
@@ -198,7 +198,7 @@ const SidePanelContent = () => {
<Panel isOpen={isAdminOpen}> <Panel isOpen={isAdminOpen}>
<Admin /> <Admin />
</Panel> </Panel>
<Panel isOpen={isInfoOpen} > <Panel isOpen={isInfoOpen}>
<Info /> <Info />
</Panel> </Panel>
</StyledSidePanel> </StyledSidePanel>
@@ -3,4 +3,3 @@ export const AUDIO_INPUT_FOCUS_SELECTOR =
export const VIDEO_INPUT_FOCUS_SELECTOR = export const VIDEO_INPUT_FOCUS_SELECTOR =
'[data-attr="video-input-select"] button, [data-attr="video-input-select"] [role="combobox"]' '[data-attr="video-input-select"] button, [data-attr="video-input-select"] [role="combobox"]'
@@ -45,7 +45,7 @@ export const useSidePanel = () => {
} }
const triggerKey = triggerKeyByPanel[panelId] const triggerKey = triggerKeyByPanel[panelId]
return triggerKey return triggerKey
? layoutStore.sidePanelTriggers[triggerKey] ?? activeEl ? (layoutStore.sidePanelTriggers[triggerKey] ?? activeEl)
: activeEl : activeEl
} }
@@ -11,4 +11,3 @@ export const useSidePanelTriggerRef = (key: SidePanelTriggerKey) => {
[key, setTrigger] [key, setTrigger]
) )
} }
@@ -320,7 +320,8 @@ export function VideoConference({ ...props }: VideoConferenceProps) {
console.error(e) console.error(e)
if ( if (
e.source == Track.Source.ScreenShare && e.source == Track.Source.ScreenShare &&
e.error.toString() == 'NotAllowedError: Permission denied by system' e.error.toString() ==
'NotAllowedError: Permission denied by system'
) { ) {
setIsShareErrorVisible(true) setIsShareErrorVisible(true)
} }
@@ -6,4 +6,3 @@ export type SidePanelTriggerKey =
| 'options' | 'options'
| 'effects' | 'effects'
| 'cameraMenu' | 'cameraMenu'
+4 -1
View File
@@ -76,7 +76,10 @@ type FocusOnCloseOptions = {
const scheduleFocus = ( const scheduleFocus = (
target: HTMLElement, target: HTMLElement,
{ delayMs = 0, preventScroll = true }: { delayMs?: number; preventScroll?: boolean } {
delayMs = 0,
preventScroll = true,
}: { delayMs?: number; preventScroll?: boolean }
) => { ) => {
const timer = setTimeout(() => { const timer = setTimeout(() => {
requestAnimationFrame(() => { requestAnimationFrame(() => {