🎨(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}>
<Admin />
</Panel>
<Panel isOpen={isInfoOpen} >
<Panel isOpen={isInfoOpen}>
<Info />
</Panel>
</StyledSidePanel>
@@ -3,4 +3,3 @@ export const AUDIO_INPUT_FOCUS_SELECTOR =
export const VIDEO_INPUT_FOCUS_SELECTOR =
'[data-attr="video-input-select"] button, [data-attr="video-input-select"] [role="combobox"]'
@@ -45,7 +45,7 @@ export const useSidePanel = () => {
}
const triggerKey = triggerKeyByPanel[panelId]
return triggerKey
? layoutStore.sidePanelTriggers[triggerKey] ?? activeEl
? (layoutStore.sidePanelTriggers[triggerKey] ?? activeEl)
: activeEl
}
@@ -11,4 +11,3 @@ export const useSidePanelTriggerRef = (key: SidePanelTriggerKey) => {
[key, setTrigger]
)
}
@@ -320,7 +320,8 @@ export function VideoConference({ ...props }: VideoConferenceProps) {
console.error(e)
if (
e.source == Track.Source.ScreenShare &&
e.error.toString() == 'NotAllowedError: Permission denied by system'
e.error.toString() ==
'NotAllowedError: Permission denied by system'
) {
setIsShareErrorVisible(true)
}
@@ -6,4 +6,3 @@ export type SidePanelTriggerKey =
| 'options'
| 'effects'
| 'cameraMenu'
+4 -1
View File
@@ -76,7 +76,10 @@ type FocusOnCloseOptions = {
const scheduleFocus = (
target: HTMLElement,
{ delayMs = 0, preventScroll = true }: { delayMs?: number; preventScroll?: boolean }
{
delayMs = 0,
preventScroll = true,
}: { delayMs?: number; preventScroll?: boolean }
) => {
const timer = setTimeout(() => {
requestAnimationFrame(() => {