Skip to content

Commit

Permalink
Merge pull request #203 from whereby/thomas/fix-ciruclar-dep-grid-com…
Browse files Browse the repository at this point in the history
…ponent

Fix circular dep grid component
  • Loading branch information
thyal authored Feb 1, 2024
2 parents 821908f + 10a4cf4 commit 66361b7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/lib/react/Grid/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import * as React from "react";
import { LocalParticipant, RemoteParticipant, VideoView } from "..";
import type {
LocalParticipantState as LocalParticipant,
RemoteParticipantState as RemoteParticipant,
} from "../useRoomConnection/types";
import VideoView from "../VideoView";
import { calculateLayout } from "./helpers/stageLayout";
import { Bounds, Frame, Origin, makeFrame } from "./helpers/layout";
import { makeVideoCellView } from "./helpers/cellView";
Expand Down Expand Up @@ -46,6 +50,7 @@ function GridVideoCellView({
<VideoView
stream={participant.stream}
onSetAspectRatio={({ aspectRatio }) => handleAspectRatioChange({ ar: aspectRatio })}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
onResize={onResize as any}
/>
) : null}
Expand Down

0 comments on commit 66361b7

Please sign in to comment.