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:
@@ -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;
|
||||
|
||||
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user