fix: prettier formatting in CallEmbedProvider and useCallEmbed

Auto-fixed by prettier --write. Patch scripts used in the previous session
wrote code without running the formatter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-23 00:51:39 -04:00
parent 33d5549ede
commit 37e68e906b
2 changed files with 21 additions and 5 deletions
+17 -4
View File
@@ -456,12 +456,25 @@ export function CallEmbedProvider({ children }: CallEmbedProviderProps) {
const el = callEmbedRef.current;
if (el) {
console.log('[CallEmbed] container styles:', {
top: el.style.top, left: el.style.left,
width: el.style.width, height: el.style.height,
visibility: el.style.visibility, bottom: el.style.bottom, right: el.style.right,
top: el.style.top,
left: el.style.left,
width: el.style.width,
height: el.style.height,
visibility: el.style.visibility,
bottom: el.style.bottom,
right: el.style.right,
});
}
}, [callEmbed?.roomId, selectedRoom, joined, inCallRoom, callVisible, pipMode, chatOnlyView, callEmbedRef]);
}, [
callEmbed?.roomId,
selectedRoom,
joined,
inCallRoom,
callVisible,
pipMode,
chatOnlyView,
callEmbedRef,
]);
React.useEffect(() => {
const el = callEmbedRef.current;
+4 -1
View File
@@ -156,7 +156,10 @@ export const useCallEmbedPlacementSync = (containerViewRef: RefObject<HTMLDivEle
const rect = container.getBoundingClientRect();
console.log('[CallEmbed] syncCallEmbedPlacement:', {
top: rect.top, left: rect.left, width: rect.width, height: rect.height,
top: rect.top,
left: rect.left,
width: rect.width,
height: rect.height,
});
embedEl.style.top = `${rect.top}px`;
embedEl.style.left = `${rect.left}px`;