mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-27 18:56:58 +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}>
|
<Panel isOpen={isAdminOpen}>
|
||||||
<Admin />
|
<Admin />
|
||||||
</Panel>
|
</Panel>
|
||||||
<Panel isOpen={isInfoOpen} >
|
<Panel isOpen={isInfoOpen}>
|
||||||
<Info />
|
<Info />
|
||||||
</Panel>
|
</Panel>
|
||||||
</StyledSidePanel>
|
</StyledSidePanel>
|
||||||
|
|||||||
-1
@@ -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'
|
||||||
|
|
||||||
|
|||||||
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user