mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-26 11:58:53 +00:00
🎨(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:
@@ -198,7 +198,7 @@ const SidePanelContent = () => {
|
||||
<Panel isOpen={isAdminOpen}>
|
||||
<Admin />
|
||||
</Panel>
|
||||
<Panel isOpen={isInfoOpen} >
|
||||
<Panel isOpen={isInfoOpen}>
|
||||
<Info />
|
||||
</Panel>
|
||||
</StyledSidePanel>
|
||||
|
||||
-1
@@ -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'
|
||||
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user